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

@@ -3,7 +3,6 @@ local a = vim.api
local log = require "nvim-tree.log"
local utils = require "nvim-tree.utils"
local core = require "nvim-tree.core"
local diagnostics = require "nvim-tree.diagnostics"
local M = {
current_tab = a.nvim_get_current_tabpage(),
@@ -42,7 +41,6 @@ function M.force_dirchange(foldername, with_open)
else
require("nvim-tree.renderer").draw()
end
diagnostics.update()
log.profile_end(ps, "change dir %s", foldername)
end