fix(#2624): open file from docked floating window (#2627)

This commit is contained in:
Alexander Courtis
2024-01-14 11:08:15 +11:00
committed by GitHub
parent b8c3a23e76
commit f24afa2cef
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ function M.get_node_at_cursor()
return
end
local cursor = vim.api.nvim_win_get_cursor(view.get_winnr())
local cursor = vim.api.nvim_win_get_cursor(winnr)
local line = cursor[1]
if line == 1 and view.is_root_folder_visible(core.get_cwd()) then