summaryrefslogtreecommitdiff
path: root/script/provider/capability.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-08 15:56:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-08 15:56:30 +0800
commit8d618992bb7f1d20dde955d8defd62e26e06bf87 (patch)
tree0c70693e1ffafbc01a445a1f8f8f3ca6f827054d /script/provider/capability.lua
parent0c6f72254d1253f12261650b90652465230bdeec (diff)
downloadlua-language-server-8d618992bb7f1d20dde955d8defd62e26e06bf87.zip
Revert "only need characters other than the identifier"
This reverts commit 11b3da9bc01f7048a86db64a70524daa73fed61a.
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 a66d4627..79261129 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 = [[.:('"[,#*@|=- ]]
+ local str = [[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.:('"[,#*@|=- ]]
local list = {}
for c in str:gmatch '.' do
list[#list+1] = c