File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -363,15 +363,15 @@ local function setup_autocommands(opts)
363
363
364
364
create_nvim_tree_autocmd (" BufReadPost" , {
365
365
callback = function ()
366
- if filters .config .filter_no_buffer or renderer .config .highlight_opened_files then
366
+ if filters .config .filter_no_buffer or renderer .config .highlight_opened_files ~= " none " then
367
367
reloaders .reload_explorer ()
368
368
end
369
369
end ,
370
370
})
371
371
372
372
create_nvim_tree_autocmd (" BufUnload" , {
373
373
callback = function (data )
374
- if filters .config .filter_no_buffer or renderer .config .highlight_opened_files then
374
+ if filters .config .filter_no_buffer or renderer .config .highlight_opened_files ~= " none " then
375
375
reloaders .reload_explorer (nil , data .buf )
376
376
end
377
377
end ,
You can’t perform that action at this time.
0 commit comments