diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-05-28 17:45:33 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-05-28 17:45:33 +0800 |
commit | 73ea274cbef78727aea2f6f47ea746321e44531c (patch) | |
tree | d7ca4246f0d15e4a775be4b9adad3158f1af27c0 /script/core/diagnostics/duplicate-doc-class.lua | |
parent | 0f04d1c9dc002b1cea8b560030adcece0a9505b6 (diff) | |
download | lua-language-server-73ea274cbef78727aea2f6f47ea746321e44531c.zip |
update
Diffstat (limited to 'script/core/diagnostics/duplicate-doc-class.lua')
-rw-r--r-- | script/core/diagnostics/duplicate-doc-class.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/duplicate-doc-class.lua b/script/core/diagnostics/duplicate-doc-class.lua index c625d234..953fa047 100644 --- a/script/core/diagnostics/duplicate-doc-class.lua +++ b/script/core/diagnostics/duplicate-doc-class.lua @@ -19,7 +19,7 @@ return function (uri, callback) or doc.type == 'doc.alias' then local name = searcher.getKeyName(doc) if not cache[name] then - local docs = vm.getDocTypes(name) + local docs = vm.getDocDefines(name) cache[name] = {} for _, otherDoc in ipairs(docs) do if otherDoc.type == 'doc.class.name' |