chore: document toggle method second parameter

This commit is contained in:
kiyan
2022-02-19 17:00:20 +01:00
parent 44ffcb6f4b
commit 589e39d642

View File

@@ -292,6 +292,7 @@ You can toggle the help UI by pressing `g?`.
1. you can add a directory by adding a `/` at the end of the paths, entering multiple directories `BASE/foo/bar/baz` will add directory foo, then bar and add a file baz to it.
2. you can update window options for the tree by setting `require"nvim-tree.view".View.winopts.MY_OPTION = MY_OPTION_VALUE`
3. `toggle` has a second parameter which allows to toggle without focusing the explorer (`require"nvim-tree.toggle(false, false)`).
## Screenshots