summaryrefslogtreecommitdiff
path: root/script/provider/completion.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/completion.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/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 dc087f5d..67d1771e 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 = [[.:('"[,#*@|=- ]]
+ local str = [[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.:('"[,#*@|=- ]]
local list = {}
for c in str:gmatch '.' do
list[#list+1] = c