summaryrefslogtreecommitdiff
path: root/script/provider/capability.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-03 19:15:10 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-03 19:15:10 +0800
commit11b3da9bc01f7048a86db64a70524daa73fed61a (patch)
treec88a0125ccd898c1be00677f5d0cf36b7fed2744 /script/provider/capability.lua
parente3cab3193dc2deffe3a7a7d9340eea13bbf7c787 (diff)
downloadlua-language-server-11b3da9bc01f7048a86db64a70524daa73fed61a.zip
only need characters other than the identifier
Diffstat (limited to 'script/provider/capability.lua')
-rw-r--r--script/provider/capability.lua2
1 files changed, 1 insertions, 1 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