feat: config option to customize filename highlight group (#508)
* feat: highlight config Refs #402 * perf: minimize perf impact when option not provided * doc: regenerate documentation * fix: symbolic link rendering * refactor: simplify conditional --------- Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
This commit is contained in:
parent
60e68967e5
commit
99ce32f4a2
4 changed files with 76 additions and 16 deletions
|
|
@ -117,6 +117,10 @@ CONFIG *oil-confi
|
|||
{ "type", "asc" },
|
||||
{ "name", "asc" },
|
||||
},
|
||||
-- Customize the highlight group for the file name
|
||||
highlight_filename = function(entry, is_hidden, is_link_target, is_link_orphan)
|
||||
return nil
|
||||
end,
|
||||
},
|
||||
-- Extra arguments to pass to SCP when moving/copying files over SSH
|
||||
extra_scp_args = {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue