#1157 update lsp diagnostics when the tree state is changed (#1174)

This commit is contained in:
Alexander Courtis
2022-04-18 23:46:42 +10:00
committed by GitHub
parent cdbc210d92
commit 0f0f858348
3 changed files with 5 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
local renderer = require "nvim-tree.renderer"
local utils = require "nvim-tree.utils"
local core = require "nvim-tree.core"
local diagnostics = require "nvim-tree.diagnostics"
local M = {}
@@ -38,6 +39,7 @@ function M.fn(keep_buffers)
iter(core.get_explorer().nodes)
renderer.draw()
diagnostics.update()
end
return M