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

@@ -1,5 +1,4 @@
local git = require "nvim-tree.git"
local diagnostics = require "nvim-tree.diagnostics"
local view = require "nvim-tree.view"
local renderer = require "nvim-tree.renderer"
local explorer_module = require "nvim-tree.explorer"
@@ -45,7 +44,6 @@ function M.reload_explorer()
if view.is_visible() then
renderer.draw()
end
diagnostics.update()
event_running = false
end