summaryrefslogtreecommitdiff
path: root/script/provider/completion.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-05 16:42:51 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-05 16:42:51 +0800
commit41b72b3c9915bbda4d7ae0e456d45791cc76b5ee (patch)
tree232f608be69b78ba213d6e6322edbbf78676e2a4 /script/provider/completion.lua
parentc05f9427414ba7bbe61f8c6494d26d681c2edf58 (diff)
downloadlua-language-server-41b72b3c9915bbda4d7ae0e456d45791cc76b5ee.zip
close #419 VSCode has released new version
Diffstat (limited to 'script/provider/completion.lua')
-rw-r--r--script/provider/completion.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/completion.lua b/script/provider/completion.lua
index 69a5af51..9cf3a39a 100644
--- a/script/provider/completion.lua
+++ b/script/provider/completion.lua
@@ -4,7 +4,7 @@ local isEnable = false
local function allWords()
local str = [[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.:('"[,#*@|=-{ ]]
- local list = {'\t'}
+ local list = {'\t', '\n'}
for c in str:gmatch '.' do
list[#list+1] = c
end