feat(#2515): add option to change grouped folders name with custom function (#2521)

* Add option to change grouped folders name with custom function

* Fix docs

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
Azad
2023-11-09 11:20:29 +01:00
committed by GitHub
parent 4ee6366ff1
commit a2aaf8b430
4 changed files with 26 additions and 4 deletions

View File

@@ -795,7 +795,9 @@ Appends a trailing slash to folder names.
*nvim-tree.renderer.group_empty*
Compact folders that only contain a single folder into one node.
Type: `boolean`, Default: `false`
Boolean or function that takes one argument (the relative path
of grouped folders) and returns a string to be displayed.
Type: `boolean | function(relative_path):string`, Default: `false`
*nvim-tree.renderer.full_name*
Display node whose name length is wider than the width of nvim-tree window in