chore(#1649): remove workaround for https://github.com/neovim/neovim/issues/17395 which was fixed in nvim 0.7.0 (#1650)

This commit is contained in:
Alexander Courtis
2022-10-15 13:49:13 +11:00
committed by GitHub
parent 55aa0062b9
commit c446527056

View File

@@ -328,8 +328,6 @@ end
function M.set_cursor(opts) function M.set_cursor(opts)
if M.is_visible() then if M.is_visible() then
pcall(a.nvim_win_set_cursor, M.get_winnr(), opts) 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
end end