File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ function Explorer:create_autocmds()
101
101
vim .api .nvim_create_autocmd (" BufReadPost" , {
102
102
group = self .augroup_id ,
103
103
callback = function (data )
104
- if (self .filters .state .no_buffer or self .opts .highlight_opened_files ~= " none" ) and vim .bo [data .buf ].buftype == " " then
104
+ if (self .filters .state .no_buffer or self .opts .renderer . highlight_opened_files ~= " none" ) and vim .bo [data .buf ].buftype == " " then
105
105
utils .debounce (" Buf:filter_buffer_" .. self .uid_explorer , self .opts .view .debounce_delay , function ()
106
106
self :reload_explorer ()
107
107
end )
@@ -113,7 +113,7 @@ function Explorer:create_autocmds()
113
113
vim .api .nvim_create_autocmd (" BufUnload" , {
114
114
group = self .augroup_id ,
115
115
callback = function (data )
116
- if (self .filters .state .no_buffer or self .opts .highlight_opened_files ~= " none" ) and vim .bo [data .buf ].buftype == " " then
116
+ if (self .filters .state .no_buffer or self .opts .renderer . highlight_opened_files ~= " none" ) and vim .bo [data .buf ].buftype == " " then
117
117
utils .debounce (" Buf:filter_buffer_" .. self .uid_explorer , self .opts .view .debounce_delay , function ()
118
118
self :reload_explorer ()
119
119
end )
You can’t perform that action at this time.
0 commit comments