File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ Subsequent calls to setup will replace the previous configuration.
222
222
highlight_git = false,
223
223
full_name = false,
224
224
highlight_opened_files = "none",
225
- highlight_modified = false ,
225
+ highlight_modified = "none" ,
226
226
root_folder_label = ":~:s?$?/..?",
227
227
indent_width = 2,
228
228
indent_markers = {
@@ -806,10 +806,11 @@ UI rendering setup
806
806
Type: `string ` , Default: `" none" `
807
807
808
808
*nvim-tree.renderer.highlight_modified*
809
- Enable file highlight for modified files using NvimTreeModified highlight
810
- groups.
809
+ Highlight icons and/or names for modified files using `NvimTreeModified`
810
+ highlight groups.
811
+ Value can be `" none" ` , `" icon" ` , `" name" ` or `" all" `
811
812
This can be used with or without the icons.
812
- Type: `boolean ` , Default `false `
813
+ Type: `string ` , Default `" none " `
813
814
814
815
*nvim-tree.renderer.root_folder_label* (previously `renderer.root_folder_modifier` )
815
816
In what format to show root folder. See `:help filename-modifiers` for
Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
523
523
highlight_git = false ,
524
524
full_name = false ,
525
525
highlight_opened_files = " none" ,
526
- highlight_modified = false ,
526
+ highlight_modified = " none " ,
527
527
root_folder_label = " :~:s?$?/..?" ,
528
528
indent_width = 2 ,
529
529
indent_markers = {
You can’t perform that action at this time.
0 commit comments