summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-01-03 17:14:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-01-03 17:14:20 +0800
commita01ab28d27c8f4a61569d3058981b4d3cd43f7bb (patch)
treec66b71ca21c04042d0549858334b79d15e7f8de8 /script/parser
parent116e22a0b662d44b798c9079ab106f5967955dfc (diff)
downloadlua-language-server-a01ab28d27c8f4a61569d3058981b4d3cd43f7bb.zip
fix renaming
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/guide.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index 96142be5..24709104 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -1013,7 +1013,8 @@ function m.getKeyName(obj)
or tp == 'doc.type.name'
or tp == 'doc.class.name'
or tp == 'doc.alias.name'
- or tp == 'doc.enum.name' then
+ or tp == 'doc.enum.name'
+ or tp == 'doc.extends.name' then
return obj[1]
elseif tp == 'doc.type.field' then
return m.getKeyName(obj.name)