diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-23 15:45:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-23 15:45:04 +0800 |
commit | edeadaad1c8b168e010236b72a0dfa5dfc43c915 (patch) | |
tree | e950af879d4ae5cec412cfae015a1177912d053e /script | |
parent | 22d7f6c23be209c7b5de149f18efa850f84915f1 (diff) | |
download | lua-language-server-edeadaad1c8b168e010236b72a0dfa5dfc43c915.zip |
ignore dll
Diffstat (limited to 'script')
-rw-r--r-- | script/core/diagnostics/different-requires.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/diagnostics/different-requires.lua b/script/core/diagnostics/different-requires.lua index 9e3dfc8f..5b86d8de 100644 --- a/script/core/diagnostics/different-requires.lua +++ b/script/core/diagnostics/different-requires.lua @@ -26,6 +26,9 @@ return function (uri, callback) if not result then return end + if not files.isLua(result) then + return + end local other = cache[result] if not other then cache[result] = { |