summaryrefslogtreecommitdiff
path: root/script/provider/completion.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-24 16:50:52 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-24 16:50:52 +0800
commit9143322ddf72876f3c89349e37a62cdf20cf3b65 (patch)
tree88a3229f262f2890acb25fe56d0f6dca5880019f /script/provider/completion.lua
parent13123693e692c6bcf1703e2ec4538d940cdc9d2c (diff)
downloadlua-language-server-9143322ddf72876f3c89349e37a62cdf20cf3b65.zip
postifx supports `++` and `++?`
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 12b1f676..ec31858a 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 mark = {}
local list = {}
for c in str:gmatch '.' do