add LuaTreeFindFile, doc and option

This commit is contained in:
kyazdani42
2020-02-28 17:24:08 +01:00
parent b9398b285d
commit daff837b23
5 changed files with 83 additions and 8 deletions

View File

@@ -26,6 +26,14 @@ open or close the tree
|:LuaTreeRefresh| *:LuaTreeRefresh*
refresh the tree
|:LuaTreeFindFile| *:LuaTreeFindFile*
The command will change the cursor in the tree for the current bufname.
It will also open the leafs of the tree leading to the file in the buffer
(if you opened a file with something else than the LuaTree, like `fzf`)
==============================================================================
OPTIONS *nvim-tree-options*
@@ -45,6 +53,12 @@ Each pattern is passed into the 'ls' function as `--ignore=PATTERN`
>
example: let g:lua_tree_ignore = [ '.git', 'node_modules' ]
<
|g:lua_tree_follow| *g:lua_tree_follow*
Can be `0` or `1`. When `1`, will bind |:LuaTreeFindFile| to |BufEnter|
==============================================================================
INFORMATIONS *nvim-tree-info*