File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2770,18 +2770,16 @@ configurations for different types of prompts.
2770
2770
==============================================================================
2771
2771
11. DECORATORS *nvim-tree-decorators*
2772
2772
2773
- Highlighting and icons for nodes are is provided by Decorators. You may provide
2773
+ Highlighting and icons for nodes are provided by Decorators. You may provide
2774
2774
your own in addition to the builtin decorators.
2775
2775
2776
2776
Decorators may:
2777
2777
- Add icons
2778
2778
- Set highlight group for the name or icons
2779
2779
- Override node icon
2780
2780
2781
- See `api_decorator.lua ` for decorator class definition and full documentation.
2782
-
2783
2781
Specify decorators and their precedence via | nvim-tree.renderer.decorators |
2784
- e.g. defaults with a user decorator being overridden only by Cut: >lua
2782
+ e.g. defaults with a user decorator class being overridden only by Cut: >lua
2785
2783
{
2786
2784
"Git",
2787
2785
"Open",
@@ -2793,6 +2791,9 @@ e.g. defaults with a user decorator being overridden only by Cut: >lua
2793
2791
MyDecorator,
2794
2792
"Cut",
2795
2793
}
2794
+
2795
+ See `nvim- tree/_meta/ api_decorator.lua ` for full
2796
+ `nvim_tree.api.decorator.UserDecorator` class documentation.
2796
2797
<
2797
2798
==============================================================================
2798
2799
11.1. DECORATOR EXAMPLE *nvim-tree-decorator-example*
You can’t perform that action at this time.
0 commit comments