feat: config function to define which files are hidden (#58)
This commit is contained in:
parent
f1ea6e0ad0
commit
e5acff1b77
3 changed files with 13 additions and 10 deletions
|
|
@ -52,6 +52,10 @@ local default_config = {
|
|||
view_options = {
|
||||
-- Show files and directories that start with "."
|
||||
show_hidden = false,
|
||||
-- This function defines what is considered a "hidden" file
|
||||
is_hidden_file = function(name, bufnr)
|
||||
return vim.startswith(name, ".")
|
||||
end,
|
||||
},
|
||||
-- Configuration for the floating window in oil.open_float
|
||||
float = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue