Skip to content

Commit

Permalink
fix: wrong api name in stable
Browse files Browse the repository at this point in the history
  • Loading branch information
ofseed authored and lewis6991 committed May 6, 2024
1 parent bc933d2 commit 805610a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gitsigns/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function M.redraw(opts)
if vim.fn.has('nvim-0.10') == 1 then
vim.api.nvim__redraw(opts)
else
vim.api.nvim__buf_redraw(opts.buf, opts.range[1], opts.range[2])
vim.api.nvim__buf_redraw_range(opts.buf, opts.range[1], opts.range[2])
end
end

Expand Down

0 comments on commit 805610a

Please sign in to comment.