diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-11 19:03:11 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-11 19:03:11 +0800 |
commit | 3b642df7cb6730f35342803089f2d6d495ddd554 (patch) | |
tree | bc767efc6c1c12fcb17024217d3adfd844af9922 /script/core/diagnostics/circle-doc-class.lua | |
parent | 2e4f530b33467b94376321c7f9879f2a879429bb (diff) | |
download | lua-language-server-3b642df7cb6730f35342803089f2d6d495ddd554.zip |
fix #1037
Diffstat (limited to 'script/core/diagnostics/circle-doc-class.lua')
-rw-r--r-- | script/core/diagnostics/circle-doc-class.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/circle-doc-class.lua b/script/core/diagnostics/circle-doc-class.lua index 9a3fa2f5..40d4afeb 100644 --- a/script/core/diagnostics/circle-doc-class.lua +++ b/script/core/diagnostics/circle-doc-class.lua @@ -37,7 +37,7 @@ return function (uri, callback) } goto CONTINUE end - if not mark[newName] then + if newName and not mark[newName] then mark[newName] = true local docs = vm.getDocSets(uri, newName) for _, otherDoc in ipairs(docs) do |