diff --git a/lua/nvim-tree/view.lua b/lua/nvim-tree/view.lua index 9702875c..218ff96e 100644 --- a/lua/nvim-tree/view.lua +++ b/lua/nvim-tree/view.lua @@ -218,6 +218,8 @@ end function M.set_cursor(opts) if M.is_visible() then pcall(a.nvim_win_set_cursor, M.get_winnr(), opts) + -- patch until https://github.com/neovim/neovim/issues/17395 is fixed + require"nvim-tree.renderer".draw() end end