Fix lua_tree_allow_resize variable name in docs

It's actually `lua_tree_width_allow_resize` in the code.
This commit is contained in:
Vitaly Kushner 2020-12-18 18:07:28 +01:00 committed by Kiyan
parent bc8245c7bb
commit 9810f8d8c9
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ let g:lua_tree_hide_dotfiles = 1 "0 by default, this option hides files and fold
let g:lua_tree_git_hl = 1 "0 by default, will enable file highlight for git attributes (can be used without the icons).
let g:lua_tree_root_folder_modifier = ':~' "This is the default. See :help filename-modifiers for more options
let g:lua_tree_tab_open = 1 "0 by default, will open the tree when entering a new tab and the tree was previously open
let g:lua_tree_allow_resize = 1 "0 by default, will not resize the tree when opening a file
let g:lua_tree_width_allow_resize = 1 "0 by default, will not resize the tree when opening a file
let g:lua_tree_show_icons = {
\ 'git': 1,
\ 'folders': 0,

View File

@ -170,7 +170,7 @@ Can be 0 or 1. When 1, will open the tree when entering a new tab if the
tree was previously open.
Default is 0
|g:lua_tree_allow_resize| *g:lua_tree_allow_resize*
|g:lua_tree_width_allow_resize| *g:lua_tree_width_allow_resize*
Can be 0 or 1. When 1, it will not resize the tree to it's original width
when opening a new file.