summaryrefslogtreecommitdiff
path: root/script/parser/guide.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-16 03:32:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-16 03:32:43 +0800
commit1407055930f23b06fbe9a6cc29cc9e54b1356783 (patch)
tree97b65707b0e4a434c9ce9e566453e03e4dfb6176 /script/parser/guide.lua
parent8a14323f7da5a4ee5956c417a38a9a85665cf128 (diff)
downloadlua-language-server-1407055930f23b06fbe9a6cc29cc9e54b1356783.zip
fix definition of `table<k, v>`
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r--script/parser/guide.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index 884a5271..0ece65fc 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -123,7 +123,6 @@ local childMap = {
['doc'] = {'#'},
['doc.class'] = {'class', '#extends', '#signs', 'comment'},
['doc.type'] = {'#types', 'name', 'comment'},
- ['doc.type.name'] = {'#signs'},
['doc.alias'] = {'alias', 'extends', 'comment'},
['doc.param'] = {'param', 'extends', 'comment'},
['doc.return'] = {'#returns', 'comment'},
@@ -137,6 +136,7 @@ local childMap = {
['doc.type.literal'] = {'node'},
['doc.type.arg'] = {'name', 'extends'},
['doc.type.field'] = {'name', 'extends'},
+ ['doc.type.sign'] = {'node', '#signs'},
['doc.overload'] = {'overload', 'comment'},
['doc.see'] = {'name', 'field'},
['doc.version'] = {'#versions'},