Skip to content

Commit 565b37d

Browse files
committed
Remove redraw workaround (#39)
The workaround was originally for #26, but it seems to no longer be necessary Should also fix #2810
1 parent 0bc989b commit 565b37d

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

lua/modicator/init.lua

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,6 @@ function M.set_cursor_line_highlight(hl_name)
142142
hl = vim.tbl_extend('keep', { bg = cl.bg }, hl)
143143
end
144144
api.nvim_set_hl(0, 'CursorLineNr', hl)
145-
146-
local register_is_executing = vim.fn.reg_executing() ~= ""
147-
148-
-- Workaround for https://github.com/neovim/neovim/issues/25851
149-
if not vim.o.lazyredraw and not register_is_executing then
150-
vim.cmd.redraw()
151-
end
152145
end
153146

154147
---@return integer augroup Augroup ID

0 commit comments

Comments
 (0)