diff options
author | sumneko <sumneko@hotmail.com> | 2022-01-23 02:29:34 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2022-01-23 02:29:34 +0800 |
commit | fecdb2af1ceba45021486d1e28d8e11f490d2b36 (patch) | |
tree | ce8b09f67ecd34637987951a2111bca1e81d5dc7 /script/core/diagnostics/undefined-doc-name.lua | |
parent | 2ee33dade7af1129ec792e69c51c993d853da54a (diff) | |
download | lua-language-server-fecdb2af1ceba45021486d1e28d8e11f490d2b36.zip |
fix
Diffstat (limited to 'script/core/diagnostics/undefined-doc-name.lua')
-rw-r--r-- | script/core/diagnostics/undefined-doc-name.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/undefined-doc-name.lua b/script/core/diagnostics/undefined-doc-name.lua index 91d4b90e..a8c75c3c 100644 --- a/script/core/diagnostics/undefined-doc-name.lua +++ b/script/core/diagnostics/undefined-doc-name.lua @@ -35,7 +35,7 @@ return function (uri, callback) if name == '...' then return end - if vm.isDocDefined(name) + if vm.isDocDefined(uri, name) or hasNameOfGeneric(name, source) then return end |