summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-09 20:00:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-09 20:00:05 +0800
commitd99c23af4bf8be944f58b374141dbfb81d48b5f5 (patch)
tree185e92fac5c0e28a80e772a9fdad5b0a6a4bbfd8 /script/parser
parentbc92c4dcefc0c87420c7d4b239c1eb4b9d14588c (diff)
downloadlua-language-server-d99c23af4bf8be944f58b374141dbfb81d48b5f5.zip
#1061 completion for `doc.type.code`
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/guide.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index 2bd9066b..83321bac 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -252,6 +252,7 @@ function m.isLiteral(obj)
or tp == 'doc.type.string'
or tp == 'doc.type.integer'
or tp == 'doc.type.boolean'
+ or tp == 'doc.type.code'
end
--- 获取字面量