diff options
author | sumneko <sumneko@hotmail.com> | 2022-01-23 03:33:41 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2022-01-23 03:33:41 +0800 |
commit | e5ef01c23e250a869e2e023ba83de1f5a28feb97 (patch) | |
tree | c8545f13b7ea918848353cc94e842bf0e61229ae /script/provider/diagnostic.lua | |
parent | ce3a22bacd3acd2984c14246feee9bd90283279a (diff) | |
download | lua-language-server-e5ef01c23e250a869e2e023ba83de1f5a28feb97.zip |
get scoped files
Diffstat (limited to 'script/provider/diagnostic.lua')
-rw-r--r-- | script/provider/diagnostic.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/diagnostic.lua b/script/provider/diagnostic.lua index 7b5993a2..f0967af2 100644 --- a/script/provider/diagnostic.lua +++ b/script/provider/diagnostic.lua @@ -371,7 +371,7 @@ function m.diagnosticsScope(uri, force) askForDisable(uri) end) end) - local uris = files.getAllUris(scp) + local uris = files.getAllUris(uri) log.info(('diagnostics scope [%s], files count:[%d]'):format(scp:getName(), #uris)) for i, uri in ipairs(uris) do while loading.count() > 0 do |