summaryrefslogtreecommitdiff
path: root/script/parser/guide.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-02-09 20:16:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-02-09 20:16:39 +0800
commit3932717d816bfc4f98cd9640daca51fb6f2afe8c (patch)
tree934e153b2a5b1427de71e4dc87074bc6b7ae9b71 /script/parser/guide.lua
parent2a439122a6d6d841fb99f08a1276c4400e5360fa (diff)
downloadlua-language-server-3932717d816bfc4f98cd9640daca51fb6f2afe8c.zip
cleanup
merge `doc.type.enums` and `doc.type.resumes` into `doc.type.types`
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r--script/parser/guide.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index e306f1e1..6f09d119 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -27,8 +27,6 @@ local type = type
---@field index parser.guide.object
---@field extends parser.guide.object[]
---@field types parser.guide.object[]
----@field enums parser.guide.object[]
----@field resumes parser.guide.object[]
---@field fields parser.guide.object[]
---@field typeGeneric table<integer, parser.guide.object[]>
---@field tkey parser.guide.object
@@ -128,7 +126,7 @@ local childMap = {
['doc'] = {'#'},
['doc.class'] = {'class', '#extends', 'comment'},
- ['doc.type'] = {'#types', '#enums', '#resumes', 'name', 'comment'},
+ ['doc.type'] = {'#types', 'name', 'comment'},
['doc.alias'] = {'alias', 'extends', 'comment'},
['doc.param'] = {'param', 'extends', 'comment'},
['doc.return'] = {'#returns', 'comment'},