feat: add setup.view_options.is_excluded

This commit is contained in:
nyngwang 2023-03-05 23:57:33 +08:00
parent 4152810907
commit 19ab948e25
2 changed files with 6 additions and 1 deletions

View file

@ -56,6 +56,10 @@ local default_config = {
is_hidden_file = function(name, bufnr)
return vim.startswith(name, ".")
end,
-- This function defines what will never be shown, even when `show_hidden` is set
is_excluded = function (name, bufnr)
return false
end
},
-- Configuration for the floating window in oil.open_float
float = {