diff --git a/lua/nvim-tree.lua b/lua/nvim-tree.lua index f35cb900..99a50557 100644 --- a/lua/nvim-tree.lua +++ b/lua/nvim-tree.lua @@ -240,6 +240,7 @@ end local function setup_autocommands(opts) vim.cmd "augroup NvimTree" + vim.cmd "autocmd!" -- reset highlights when colorscheme is changed vim.cmd "au ColorScheme * lua require'nvim-tree'.reset_highlight()"