summaryrefslogtreecommitdiff
path: root/server/src/method/initialize.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-27 17:08:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-27 17:08:06 +0800
commit4080fda019a01f2980f798f7c7aa8ac58f3a8270 (patch)
tree7c7a19544d6a4b5187fd1aaad54e50c966ea631d /server/src/method/initialize.lua
parentd19d957a4a141c854f3acb3f4292dfdb5b79e137 (diff)
downloadlua-language-server-4080fda019a01f2980f798f7c7aa8ac58f3a8270.zip
更新自动完成
Diffstat (limited to 'server/src/method/initialize.lua')
-rw-r--r--server/src/method/initialize.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/method/initialize.lua b/server/src/method/initialize.lua
index 9ba890bc..aa4a5edc 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