Skip to content

Commit 95df001

Browse files
authored
fix(doc): nvim_tree_create_in_closed_folder default value (#1015)
1 parent 58b81ed commit 95df001

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ let g:nvim_tree_disable_window_picker = 1 "0 by default, will disable the window
4848
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.
4949
let g:nvim_tree_symlink_arrow = ' >> ' " defaults to ' ➛ '. used as a separator between symlinks' source and target.
5050
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.
51-
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.
51+
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.
5252
let g:nvim_tree_window_picker_exclude = {
5353
\ 'filetype': [
5454
\ 'notify',

doc/nvim-tree-lua.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ Will change cwd of nvim-tree to that of new buffer's when opening nvim-tree.
553553

554554
|g:nvim_tree_create_in_closed_folder| *g:nvim_tree_create_in_closed_folder*
555555

556-
Can be 0 or 1. 1 by default.
556+
Can be 0 or 1. 0 by default.
557557
Creating a file when the cursor is on a closed folder will set the
558558
path to be inside the closed folder when 1, and on the parent folder when 0.
559559

0 commit comments

Comments
 (0)