diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-26 18:09:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-26 18:09:04 +0800 |
commit | 0e425123aaf2fe14b0031988277326831a10764a (patch) | |
tree | d60e4656b84a7b42e42f7d93ca446b7786ae7c7e /server/src/method/initialize.lua | |
parent | 71122e07d25c8f97219ef91226eb94de65a19825 (diff) | |
download | lua-language-server-0e425123aaf2fe14b0031988277326831a10764a.zip |
支持不在字符串内部
Diffstat (limited to 'server/src/method/initialize.lua')
-rw-r--r-- | server/src/method/initialize.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/method/initialize.lua b/server/src/method/initialize.lua index 0f5b840a..9ba890bc 100644 --- a/server/src/method/initialize.lua +++ b/server/src/method/initialize.lua @@ -1,5 +1,5 @@ local function allWords() - local str = [[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.:('"[]] + local str = [[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.:('"[, ]] local list = {} for c in str:gmatch '.' do list[#list+1] = c |