From 95df001185d2fac18cf36e66bc56e0eb19140469 Mon Sep 17 00:00:00 2001 From: ilkecan <40234257+ilkecan@users.noreply.github.com> Date: Mon, 21 Feb 2022 01:19:14 +0300 Subject: [PATCH] fix(doc): nvim_tree_create_in_closed_folder default value (#1015) --- README.md | 2 +- doc/nvim-tree-lua.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ca2733f..170f1250 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ let g:nvim_tree_disable_window_picker = 1 "0 by default, will disable the window let g:nvim_tree_icon_padding = ' ' "one space by default, used for rendering the space between the icon and the filename. Use with caution, it could break rendering if you set an empty string depending on your font. let g:nvim_tree_symlink_arrow = ' >> ' " defaults to ' ➛ '. used as a separator between symlinks' source and target. let g:nvim_tree_respect_buf_cwd = 1 "0 by default, will change cwd of nvim-tree to that of new buffer's when opening nvim-tree. -let g:nvim_tree_create_in_closed_folder = 0 "1 by default, When creating files, sets the path of a file when cursor is on a closed folder to the parent folder when 0, and inside the folder when 1. +let g:nvim_tree_create_in_closed_folder = 1 "0 by default, When creating files, sets the path of a file when cursor is on a closed folder to the parent folder when 0, and inside the folder when 1. let g:nvim_tree_window_picker_exclude = { \ 'filetype': [ \ 'notify', diff --git a/doc/nvim-tree-lua.txt b/doc/nvim-tree-lua.txt index 356f156b..2bb341d5 100644 --- a/doc/nvim-tree-lua.txt +++ b/doc/nvim-tree-lua.txt @@ -553,7 +553,7 @@ Will change cwd of nvim-tree to that of new buffer's when opening nvim-tree. |g:nvim_tree_create_in_closed_folder| *g:nvim_tree_create_in_closed_folder* -Can be 0 or 1. 1 by default. +Can be 0 or 1. 0 by default. Creating a file when the cursor is on a closed folder will set the path to be inside the closed folder when 1, and on the parent folder when 0.