We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
is_hidden_file
show_hidden
1 parent 4f3c678 commit 0fcd126Copy full SHA for 0fcd126
lua/oil/view.lua
@@ -22,7 +22,7 @@ local last_cursor_entry = {}
22
---@return boolean
23
M.should_display = function(name, bufnr)
24
return not config.view_options.is_always_hidden(name, bufnr)
25
- and (not config.view_options.is_hidden_file(name, bufnr) or config.view_options.show_hidden)
+ and (config.view_options.show_hidden or not config.view_options.is_hidden_file(name, bufnr))
26
end
27
28
---@param bufname string
0 commit comments