summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
authorkevinhwang91 <kevin.hwang@live.com>2022-04-06 02:32:07 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-06 03:23:04 +0800
commitec715c27d22ab336e339effe1267a34774d8d33a (patch)
tree9dbe8618c0b8a74351a05c36ac4380d7414cb04c /test/completion
parente18678a58b10ada0120b4e6d4f8c332d7f16bc4a (diff)
downloadlua-language-server-ec715c27d22ab336e339effe1267a34774d8d33a.zip
feat(completion): use Lua code as snippet description
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/common.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/completion/common.lua b/test/completion/common.lua
index 58b27fe7..8128d2ab 100644
--- a/test/completion/common.lua
+++ b/test/completion/common.lua
@@ -1895,6 +1895,12 @@ f(<??>)
function (${1:x}, ${2:y})\
\t$0\
end",
+ description = "\z
+```lua\
+function (x, y)\
+\t\
+end\
+```"
},
}