@@ -167,7 +167,7 @@ Setup may only be run once; subsequent calls will result in a warning.
167167 sort_by = "name",
168168 root_dirs = {},
169169 prefer_startup_root = false,
170- update_cwd = false,
170+ sync_root_with_cwd = false,
171171 reload_on_bufenter = false,
172172 respect_buf_cwd = false,
173173 view = {
@@ -247,7 +247,6 @@ Setup may only be run once; subsequent calls will result in a warning.
247247 },
248248 update_focused_file = {
249249 enable = false,
250- update_cwd = false,
251250 update_root = false,
252251 ignore_list = {},
253252 },
@@ -398,7 +397,7 @@ Prefer startup root directory when updating root directory of the tree.
398397Only relevant when `update_focused_file.update_root` is `true`
399398 Type: `boolean ` , Default: `false`
400399
401- *nvim-tree.update_cwd*
400+ *nvim-tree.sync_root_with_cwd* (previously `update_cwd` )
402401Changes the tree root directory on `DirChanged ` and refreshes the tree.
403402 Type: `boolean ` , Default: `false`
404403
@@ -410,7 +409,7 @@ Automatically reloads the tree on `BufEnter` nvim-tree.
410409Will change cwd of nvim-tree to that of new buffer's when opening nvim-tree.
411410 Type: `boolean ` , Default: `false`
412411
413- *nvim-tree.hijack_directories*
412+ *nvim-tree.hijack_directories* (previously `update_to_buf_dir` )
414413hijacks new directory buffers when they are opened (`:e dir`).
415414
416415 *nvim-tree.hijack_directories.enable*
@@ -431,14 +430,7 @@ until it finds the file.
431430 Enable this feature.
432431 Type: `boolean ` , Default: `false`
433432
434- *nvim-tree.update_focused_file.update_cwd*
435- (deprecated, use `update_focused_file.update_root` )
436- Update the root directory of the tree to the one of the folder containing
437- the file if the file is not under the current root directory.
438- Only relevant when `update_focused_file.enable ` is `true`
439- Type: `boolean ` , Default: `false`
440-
441- *nvim-tree.update_focused_file.update_root*
433+ *nvim-tree.update_focused_file.update_root* (previously `update_focused_file.update_cwd` )
442434 Update the root directory of the tree if the file is not under current
443435 root directory. It prefers vim's cwd and `root_dirs` .
444436 Otherwise it falls back to the folder containing the file.
@@ -448,7 +440,7 @@ until it finds the file.
448440 *nvim-tree.update_focused_file.ignore_list*
449441 List of buffer names and filetypes that will not update the root dir
450442 of the tree if the file isn't found under the current root directory.
451- Only relevant when `update_focused_file.update_cwd ` and
443+ Only relevant when `update_focused_file.update_root ` and
452444 `update_focused_file.enable ` are `true` .
453445 Type: {string} , Default: `{}`
454446
@@ -768,7 +760,7 @@ Configuration for various actions.
768760
769761 *nvim-tree.actions.change_dir.global*
770762 Use `:cd ` instead of `:lcd ` when changing directories.
771- Consider that this might cause issues with the `update_cwd` options .
763+ Consider that this might cause issues with the | nvim-tree.sync_root_with_cwd | option .
772764 Type: `boolean ` , Default: `false`
773765
774766 *nvim-tree.actions.change_dir.restrict_above_cwd*
@@ -788,7 +780,7 @@ Configuration for various actions.
788780 It will also disable preventing a buffer overriding the tree.
789781 Type: `boolean ` , Default: `false`
790782
791- *nvim-tree.actions.open_file.resize_window*
783+ *nvim-tree.actions.open_file.resize_window* (previously ` view .auto_resize` )
792784 Resizes the tree when opening a file.
793785 Type: `boolean ` , Default: `true`
794786
0 commit comments