summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-11 16:22:52 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-11 16:22:52 +0800
commitd2f5980d688a2c075113bfe89c5effecb195b530 (patch)
treecd0db41009e21f0299dbdb741a79750b83132e35 /script/parser
parent85a9019faccdf44fafec36fa816bbc4a78b58286 (diff)
downloadlua-language-server-d2f5980d688a2c075113bfe89c5effecb195b530.zip
update semantic tokens
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/guide.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index 1175fd84..e306f1e1 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -145,6 +145,8 @@ local childMap = {
['doc.type.field'] = {'extends'},
['doc.overload'] = {'overload', 'comment'},
['doc.see'] = {'name', 'field'},
+ ['doc.version'] = {'#versions'},
+ ['doc.diagnostic'] = {'#names'},
}
---@type table<string, fun(obj: parser.guide.object, list: parser.guide.object[])>