summaryrefslogtreecommitdiff
path: root/server/test/completion/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/completion/init.lua')
-rw-r--r--server/test/completion/init.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua
index 2b63358e..c60e8ea0 100644
--- a/server/test/completion/init.lua
+++ b/server/test/completion/init.lua
@@ -1321,3 +1321,20 @@ JustTest
},
}
}
+
+TEST [[
+--- abc
+zzz = 1
+zz$
+]]
+{
+ {
+ label = 'zzz',
+ kind = CompletionItemKind.Enum,
+ detail = '(number) = 1',
+ documentation = {
+ kind = 'markdown',
+ value = 'abc',
+ }
+ }
+}