Skip to content

Commit 22b7c11

Browse files
committed
Force redraw after jumping in INSERT (close #573)
otherwise, the visual cursor is not updated when 'concealcursor' contains i
1 parent 66864ff commit 22b7c11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/luasnip/util/util.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ end
189189
local function insert_move_on(new_cur_pos)
190190
-- maybe feedkeys this too.
191191
set_cursor_0ind(new_cur_pos)
192+
vim.api.nvim_command("redraw!")
192193
end
193194

194195
local function multiline_equal(t1, t2)

0 commit comments

Comments
 (0)