diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-03 19:15:10 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-03 19:15:10 +0800 |
commit | 11b3da9bc01f7048a86db64a70524daa73fed61a (patch) | |
tree | c88a0125ccd898c1be00677f5d0cf36b7fed2744 /script/provider | |
parent | e3cab3193dc2deffe3a7a7d9340eea13bbf7c787 (diff) | |
download | lua-language-server-11b3da9bc01f7048a86db64a70524daa73fed61a.zip |
only need characters other than the identifier
Diffstat (limited to 'script/provider')
-rw-r--r-- | script/provider/capability.lua | 2 | ||||
-rw-r--r-- | script/provider/completion.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/script/provider/capability.lua b/script/provider/capability.lua index 79261129..a66d4627 100644 --- a/script/provider/capability.lua +++ b/script/provider/capability.lua @@ -6,7 +6,7 @@ local platform = require 'bee.platform' local m = {} local function allWords() - local str = [[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.:('"[,#*@|=- ]] + local str = [[.:('"[,#*@|=- ]] local list = {} for c in str:gmatch '.' do list[#list+1] = c diff --git a/script/provider/completion.lua b/script/provider/completion.lua index 16f2029e..98a2621b 100644 --- a/script/provider/completion.lua +++ b/script/provider/completion.lua @@ -3,7 +3,7 @@ local proto = require 'proto' local isEnable = false local function allWords() - local str = [[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.:('"[,#*@|=- ]] + local str = [[.:('"[,#*@|=- ]] local list = {} for c in str:gmatch '.' do list[#list+1] = c |