feat: API to change config.view.is_hidden_file at runtime (#69)

This commit is contained in:
Steven Arcangeli 2023-03-12 12:48:59 -07:00
parent 33d5701a8d
commit 12bea0f646
5 changed files with 53 additions and 6 deletions

View file

@ -110,6 +110,17 @@ set_columns({cols}) *oil.set_column
Parameters:
{cols} `oil.ColumnSpec[]`
set_is_hidden_file({is_hidden_file}) *oil.set_is_hidden_file*
Change how oil determines if the file is hidden
Parameters:
{is_hidden_file} `fun(filename: string, bufnr: nil|integer): boolean` Retu
rn true if the file/dir should be hidden
toggle_hidden() *oil.toggle_hidden*
Toggle hidden files and directories
get_current_dir(): nil|string *oil.get_current_dir*
Get the current directory