diff --git a/README.md b/README.md index a2fd49fa..cdd9fb69 100644 --- a/README.md +++ b/README.md @@ -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, diff --git a/doc/nvim-tree-lua.txt b/doc/nvim-tree-lua.txt index e24d2e28..cbf1d454 100644 --- a/doc/nvim-tree-lua.txt +++ b/doc/nvim-tree-lua.txt @@ -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.