fix(diagnostics): Update lsp diagnostics signs when opening/closing folders. (#325)
This commit is contained in:
@@ -121,12 +121,12 @@ function M.unroll_dir(node)
|
|||||||
git.update_gitignore_map_sync()
|
git.update_gitignore_map_sync()
|
||||||
populate(node.entries, node.link_to or node.absolute_path, node)
|
populate(node.entries, node.link_to or node.absolute_path, node)
|
||||||
|
|
||||||
if vim.g.nvim_tree_lsp_diagnostics == 1 then
|
|
||||||
diagnostics.update()
|
|
||||||
end
|
|
||||||
|
|
||||||
renderer.draw(M.Tree, true)
|
renderer.draw(M.Tree, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if vim.g.nvim_tree_lsp_diagnostics == 1 then
|
||||||
|
diagnostics.update()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local function refresh_git(node, update_gitignore)
|
local function refresh_git(node, update_gitignore)
|
||||||
|
|||||||
Reference in New Issue
Block a user