fix(#2519): diagnostics overhaul

Signed-off-by: iusmac <iusico.maxim@libero.it>
This commit is contained in:
iusmac
2023-12-22 19:58:20 +01:00
parent 50f30bcd8c
commit 7bc3616ed8
3 changed files with 47 additions and 30 deletions

View File

@@ -413,6 +413,8 @@ end
function Builder:_build_line(node, idx, num_children, unloaded_bufnr)
local copy_paste = require "nvim-tree.actions.fs.copy-paste"
require("nvim-tree.diagnostics").update_node_severity_level(node)
-- various components
local indent_markers = pad.get_indent_markers(self.depth, idx, num_children, node, self.markers)
local arrows = pad.get_arrows(node)