feat: pass oil bufnr to custom filename highlight function (#552)
This enables you to determine the full directory path, enabling e.g., HL groups for Git
This commit is contained in:
parent
a6a4f48b14
commit
f5c563a074
4 changed files with 11 additions and 9 deletions
|
|
@ -118,7 +118,7 @@ CONFIG *oil-confi
|
|||
{ "name", "asc" },
|
||||
},
|
||||
-- Customize the highlight group for the file name
|
||||
highlight_filename = function(entry, is_hidden, is_link_target, is_link_orphan)
|
||||
highlight_filename = function(entry, is_hidden, is_link_target, is_link_orphan, bufnr)
|
||||
return nil
|
||||
end,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue