Skip to content

Commit 5ad56c9

Browse files
committed
update diagnostics after editting .editorconfig
1 parent 864e444 commit 5ad56c9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

script/provider/provider.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,12 @@ m.register 'config/editorconfig/update' {
998998

999999
if not status and err ~= nil then
10001000
log.error(err)
1001+
return
1002+
end
1003+
1004+
local diagnostic = require 'provider.diagnostic'
1005+
for _, scp in ipairs(workspace.folders) do
1006+
diagnostic.diagnosticsScope(scp.uri)
10011007
end
10021008
end
10031009
}

0 commit comments

Comments
 (0)