summaryrefslogtreecommitdiff
path: root/script/provider/completion.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-24 16:40:51 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-24 16:40:51 +0800
commit73877202eca3f7e54d21cd04fa7bcc2daed3377d (patch)
tree722d80fedaa8174388a71972cdb915c98719210e /script/provider/completion.lua
parent6e6581b506990d46c5df8e0a6125df90fed2925f (diff)
downloadlua-language-server-73877202eca3f7e54d21cd04fa7bcc2daed3377d.zip
#419 remove trigger char `\n` for now, see #401
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 2dc92569..69a5af51 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 = {'\n', '\t'}
+ local list = {'\t'}
for c in str:gmatch '.' do
list[#list+1] = c
end