chore(diagnostics): move updates to renderer (#1218)

should address #1216
This commit is contained in:
Kiyan
2022-05-07 11:14:32 +02:00
committed by GitHub
parent 97d8557cb2
commit db873b340d
7 changed files with 9 additions and 18 deletions

View File

@@ -2,7 +2,6 @@ local view = require "nvim-tree.view"
local filters = require "nvim-tree.explorer.filters"
local renderer = require "nvim-tree.renderer"
local reloaders = require "nvim-tree.actions.reloaders"
local diagnostics = require "nvim-tree.diagnostics"
local M = {}
@@ -24,11 +23,6 @@ end
function M.help()
view.toggle_help()
renderer.draw()
if view.is_help_ui() then
diagnostics.clear()
else
diagnostics.update()
end
end
return M