feat: config function to define which files are hidden (#58)

This commit is contained in:
Steven Arcangeli 2023-02-22 21:05:41 -08:00
parent f1ea6e0ad0
commit e5acff1b77
3 changed files with 13 additions and 10 deletions

View file

@ -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 = {