summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 69a5af51..9cf3a39a 100644
--- a/script/provider/completion.lua
+++ b/script/provider/completion.lua
@@ -4,7 +4,7 @@ local isEnable = false
local function allWords()
local str = [[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.:('"[,#*@|=-{ ]]
- local list = {'\t'}
+ local list = {'\t', '\n'}
for c in str:gmatch '.' do
list[#list+1] = c
end