We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edbb827 commit 8d26f40Copy full SHA for 8d26f40
lua/nvim-tree/actions/node/open-file.lua
@@ -395,7 +395,7 @@ function M.fn(mode, filename)
395
396
local buf_loaded = is_already_loaded(fname)
397
398
- local found_win = utils.get_win_buf_from_path(fname)
+ local found_win = utils.get_win_buf_from_path(filename)
399
if found_win and (mode == "preview" or mode == "preview_no_picker") then
400
return
401
end
0 commit comments