Skip to content

Commit 0ca8717

Browse files
committed
fix: open view on NvimTreeFindFile
1 parent d417292 commit 0ca8717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ local function setup_vim_commands()
356356
command! NvimTreeFocus lua require'nvim-tree'.focus()
357357
command! NvimTreeRefresh lua require'nvim-tree'.refresh()
358358
command! NvimTreeClipboard lua require'nvim-tree'.print_clipboard()
359-
command! NvimTreeFindFile lua require'nvim-tree'.find_file()
359+
command! NvimTreeFindFile lua require'nvim-tree'.find_file(true)
360360
command! -nargs=1 NvimTreeResize lua require'nvim-tree'.resize(<args>)
361361
]]
362362
end

0 commit comments

Comments
 (0)