diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-07 20:32:19 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-07 20:32:19 +0800 |
commit | 5f1f0fad1686847fe34936b2f6cd8ee48fd8289d (patch) | |
tree | 6d72b3dd0622c3c9ff8c6b9eec26c2a8b4a729eb /script/core/diagnostics/circle-doc-class.lua | |
parent | b35c61b3f63390084cee48b3604e7fb7d47685ca (diff) | |
download | lua-language-server-5f1f0fad1686847fe34936b2f6cd8ee48fd8289d.zip |
update
Diffstat (limited to 'script/core/diagnostics/circle-doc-class.lua')
-rw-r--r-- | script/core/diagnostics/circle-doc-class.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/diagnostics/circle-doc-class.lua b/script/core/diagnostics/circle-doc-class.lua index 407b7e83..9a3fa2f5 100644 --- a/script/core/diagnostics/circle-doc-class.lua +++ b/script/core/diagnostics/circle-doc-class.lua @@ -41,8 +41,8 @@ return function (uri, callback) mark[newName] = true local docs = vm.getDocSets(uri, newName) for _, otherDoc in ipairs(docs) do - if otherDoc.type == 'doc.class.name' then - list[#list+1] = otherDoc.parent + if otherDoc.type == 'doc.class' then + list[#list+1] = otherDoc end end end |