@@ -734,19 +734,23 @@ Width of the window: can be a `%` string, a number representing columns, a
734
734
function or a table.
735
735
A table indicates that the view should be dynamically sized based on the
736
736
longest line (previously `view .adaptive_size` ).
737
- Type: `string | number | function | table`, Default: `30 `
737
+ Type: `string | number | table | function()` returning a number
738
+ Default: `30 `
738
739
739
740
*nvim-tree.view.width.min*
740
741
Minimum dynamic width.
741
- Type: `string | number | function`, Default: `30 `
742
+ Type: `string | number | function()` returning a number
743
+ Default: `30 `
742
744
743
745
*nvim-tree.view.width.max*
744
746
Maximum dynamic width, -1 for unbounded.
745
- Type: `string | number | function`, Default: `-1 `
747
+ Type: `string | number | function()` returning a number
748
+ Default: `-1 `
746
749
747
750
*nvim-tree.view.width.padding*
748
751
Extra padding to the right.
749
- Type: `string ` , Default: `" "`
752
+ Type: `number | function()` returning a number
753
+ Default: `1 `
750
754
751
755
*nvim-tree.view.float*
752
756
Use nvim-tree in a floating window.
@@ -761,7 +765,8 @@ Use nvim-tree in a floating window.
761
765
762
766
*nvim-tree.view.float.open_win_config*
763
767
Floating window config. See | nvim_open_win | for more details.
764
- Type: `table` or `function ` that returns a table, Default:
768
+ Type: `table | function` returning a table
769
+ Default:
765
770
`{`
766
771
`relative = "editor",`
767
772
`border = "rounded",`
0 commit comments