summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-16 22:45:26 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-16 22:45:26 +0800
commitcbb4bea9cabfa3073b39e067ea2114946c1d1690 (patch)
tree96a0c3a41581fe2bb7440d8074354c2ef925f971 /script
parent814d7dfccb1ecfbd887af40f4df951fbdecb12ac (diff)
downloadlua-language-server-cbb4bea9cabfa3073b39e067ea2114946c1d1690.zip
fix runner for `doc.type.array`
Diffstat (limited to 'script')
-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 28a37dac..d47d0034 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -256,6 +256,7 @@ function m.isLiteral(obj)
or tp == 'doc.type.integer'
or tp == 'doc.type.boolean'
or tp == 'doc.type.code'
+ or tp == 'doc.type.array'
end
--- 获取字面量