File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,9 @@ local function setup_autocommands(opts)
213
213
if not explorer then
214
214
return
215
215
end
216
- if (explorer .filters .config .filter_no_buffer or renderer .config .highlight_opened_files ~= " none" ) and vim .bo [data .buf ].buftype == " " then
216
+ if
217
+ (explorer .filters .config .filter_no_buffer or renderer .config .highlight_opened_files ~= " none" ) and vim .bo [data .buf ].buftype == " "
218
+ then
217
219
utils .debounce (" Buf:filter_buffer" , opts .view .debounce_delay , function ()
218
220
actions .reloaders .reload_explorer ()
219
221
end )
@@ -228,7 +230,9 @@ local function setup_autocommands(opts)
228
230
if not explorer then
229
231
return
230
232
end
231
- if (explorer .filters .config .filter_no_buffer or renderer .config .highlight_opened_files ~= " none" ) and vim .bo [data .buf ].buftype == " " then
233
+ if
234
+ (explorer .filters .config .filter_no_buffer or renderer .config .highlight_opened_files ~= " none" ) and vim .bo [data .buf ].buftype == " "
235
+ then
232
236
utils .debounce (" Buf:filter_buffer" , opts .view .debounce_delay , function ()
233
237
actions .reloaders .reload_explorer ()
234
238
end )
Original file line number Diff line number Diff line change 56
56
57
57
--- @param node Node
58
58
--- @param status table
59
+ --- @param parent Explorer
59
60
--- @return Node[] | nil
60
61
function M .explore (node , status , parent )
61
62
local cwd = node .link_to or node .absolute_path
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function Filters:new(opts, explorer)
17
17
filter_git_clean = opts .filters .git_clean ,
18
18
filter_no_buffer = opts .filters .no_buffer ,
19
19
filter_no_bookmark = opts .filters .no_bookmark ,
20
- }
20
+ },
21
21
}
22
22
23
23
local custom_filter = opts .filters .custom
You can’t perform that action at this time.
0 commit comments