Skip to content

Commit 4f1c4e5

Browse files
committed
update view.width help
1 parent 890656a commit 4f1c4e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/nvim-tree-lua.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -800,22 +800,22 @@ Width of the window: can be a `%` string, a number representing columns, a
800800
function or a table.
801801
A table indicates that the view should be dynamically sized based on the
802802
longest line.
803-
Type: `string | number | table | function()` returning a number
803+
Type: `string | number | table | fun(): number|string`
804804
Default: `30`
805805

806806
*nvim-tree.view.width.min*
807807
Minimum dynamic width.
808-
Type: `string | number | function()` returning a number
808+
Type: `string | number | fun(): number|string`
809809
Default: `30`
810810

811811
*nvim-tree.view.width.max*
812812
Maximum dynamic width, -1 for unbounded.
813-
Type: `string | number | function()` returning a number
813+
Type: `string | number | fun(): number|string`
814814
Default: `-1`
815815

816816
*nvim-tree.view.width.padding*
817817
Extra padding to the right.
818-
Type: `number | function()` returning a number
818+
Type: `number | fun(): number|string`
819819
Default: `1`
820820

821821
*nvim-tree.view.float*

0 commit comments

Comments
 (0)