summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/undefined-doc-name.lua
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2022-01-23 02:29:34 +0800
committersumneko <sumneko@hotmail.com>2022-01-23 02:29:34 +0800
commitfecdb2af1ceba45021486d1e28d8e11f490d2b36 (patch)
treece8b09f67ecd34637987951a2111bca1e81d5dc7 /script/core/diagnostics/undefined-doc-name.lua
parent2ee33dade7af1129ec792e69c51c993d853da54a (diff)
downloadlua-language-server-fecdb2af1ceba45021486d1e28d8e11f490d2b36.zip
fix
Diffstat (limited to 'script/core/diagnostics/undefined-doc-name.lua')
-rw-r--r--script/core/diagnostics/undefined-doc-name.lua2
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