diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-02-09 17:15:29 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-02-09 17:15:29 +0800 |
commit | 5ad56c9ccfef9dfbe18a8846d1303b4668077b55 (patch) | |
tree | 0e943d028f447e21f228822a6eef1767934b1363 /script | |
parent | 864e44403190d6b96313968d008dbc60a8a11342 (diff) | |
download | lua-language-server-5ad56c9ccfef9dfbe18a8846d1303b4668077b55.zip |
update diagnostics after editting `.editorconfig`
Diffstat (limited to 'script')
-rw-r--r-- | script/provider/provider.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 1ddca309..5af56f24 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -998,6 +998,12 @@ m.register 'config/editorconfig/update' { if not status and err ~= nil then log.error(err) + return + end + + local diagnostic = require 'provider.diagnostic' + for _, scp in ipairs(workspace.folders) do + diagnostic.diagnosticsScope(scp.uri) end end } |