summaryrefslogtreecommitdiff
path: root/script/provider/completion.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-31 17:57:21 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-31 17:57:25 +0800
commitee6fc1dd36ab448a6d3e1d9a3d2c0089bf2b678e (patch)
treea87995dac75a1a77ec6d36c75d3940c691a8ea7e /script/provider/completion.lua
parent83427096a606baedebb7c59af4e525e8a290f1eb (diff)
downloadlua-language-server-ee6fc1dd36ab448a6d3e1d9a3d2c0089bf2b678e.zip
close #311 generate function documentation
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 7a18f2f8..16f2029e 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 = [[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.:('"[,#*@|= ]]
+ local str = [[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.:('"[,#*@|=- ]]
local list = {}
for c in str:gmatch '.' do
list[#list+1] = c