summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-18 17:50:26 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-18 17:50:26 +0800
commit0a47c11a07c675aba36a5f0d79fc65a7b33ea9ba (patch)
treec8dd302b306981f8a609ba1f9bd997805c9db9bc /test/completion
parentbcbc43127af9dfb3f2c6a73a7ba8d4dfa46d7fe2 (diff)
downloadlua-language-server-0a47c11a07c675aba36a5f0d79fc65a7b33ea9ba.zip
fix completion
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua
index abd5b9a0..bf7a896f 100644
--- a/test/completion/init.lua
+++ b/test/completion/init.lua
@@ -2459,3 +2459,13 @@ local t = {
kind = define.CompletionItemKind.Property,
},
}
+
+TEST [[
+if $ then
+]]
+(nil)
+
+TEST [[
+elseif $ then
+]]
+(nil)