summaryrefslogtreecommitdiff
path: root/script/provider/completion.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-23 11:08:21 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-23 11:08:21 +0800
commit0d902298c0b4b26978e765665431d6d55d4b9b90 (patch)
tree3d611db4b23ad75fbd98cc99dec30a680ccfa7d6 /script/provider/completion.lua
parent04b6327f39fc5354caa984b666644333ab52f9cc (diff)
downloadlua-language-server-0d902298c0b4b26978e765665431d6d55d4b9b90.zip
resolve #518 `Lua.completion.requireSeparator`
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 92546571..f1698249 100644
--- a/script/provider/completion.lua
+++ b/script/provider/completion.lua
@@ -6,7 +6,7 @@ local config = require 'config'
local isEnable = false
local function allWords()
- local str = '\t\n.:(\'"[,#*@|=-{ '
+ local str = '\t\n.:(\'"[,#*@|=-{/\\ '
local list = {}
for c in str:gmatch '.' do
list[#list+1] = c