File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 11--- @meta
22error (" Cannot require a meta file" )
33
4- local nvim_tree = {}
4+ local nvim_tree = { api = { decorator = {} } }
55
66--- Highlight group range as per nvim-tree.renderer.highlight_*
77--- @alias nvim_tree.api.decorator.HighlightRange " none" | " icon" | " name" | " all"
@@ -18,6 +18,11 @@ local nvim_tree = {}
1818--- @field protected enabled boolean
1919--- @field protected highlight_range nvim_tree.api.decorator.HighlightRange
2020--- @field protected icon_placement nvim_tree.api.decorator.IconPlacement
21+ nvim_tree .api .decorator .UserDecorator = {}
22+
23+ --- Create your decorator class
24+ ---
25+ function nvim_tree .api .decorator .UserDecorator :extend () end
2126
2227--- Abstract: no-args constructor must be implemented and will be called once per tree render.
2328--- Must set all fields.
You can’t perform that action at this time.
0 commit comments