File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ applying configuration.
494494 },
495495 open_file = {
496496 quit_on_open = false,
497- prevent_buffer_override = true,
497+ eject = true,
498498 resize_window = true,
499499 window_picker = {
500500 enable = true,
@@ -1207,7 +1207,7 @@ Configuration for various actions.
12071207 Closes the explorer when opening a file.
12081208 Type: `boolean ` , Default: `false`
12091209
1210- *nvim-tree.actions.open_file.prevent_buffer_override *
1210+ *nvim-tree.actions.open_file.eject *
12111211 Prevent new opened file from opening in the same window as the tree.
12121212 Type: `boolean ` , Default: `true`
12131213
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ local function setup_autocommands(opts)
196196 create_nvim_tree_autocmd (" BufWipeout" , {
197197 pattern = " NvimTree_*" ,
198198 callback = function ()
199- if utils .is_nvim_tree_buf (0 ) and opts .actions .open_file .prevent_buffer_override then
199+ if utils .is_nvim_tree_buf (0 ) and opts .actions .open_file .eject then
200200 view ._prevent_buffer_override ()
201201 end
202202 end ,
@@ -545,7 +545,7 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
545545 },
546546 open_file = {
547547 quit_on_open = false ,
548- prevent_buffer_override = true ,
548+ eject = true ,
549549 resize_window = true ,
550550 window_picker = {
551551 enable = true ,
You can’t perform that action at this time.
0 commit comments