aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/diagnostic.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-02-06 18:05:06 +0800
committerGitHub <noreply@github.com>2024-02-06 18:05:06 +0800
commita945a31e768f9dfb09ff455229ed2c70b5ea6cf6 (patch)
tree0c5667140bc3ca054e35405b1b88de3b5d6f620b /runtime/lua/vim/diagnostic.lua
parentd6fac187f1dee41bb0d6161c160f5fb5842b59b7 (diff)
downloadrneovim-a945a31e768f9dfb09ff455229ed2c70b5ea6cf6.tar.gz
rneovim-a945a31e768f9dfb09ff455229ed2c70b5ea6cf6.tar.bz2
rneovim-a945a31e768f9dfb09ff455229ed2c70b5ea6cf6.zip
vim-patch:9.1.0077: Unnecessary call to redraw_for_cursorline() in nv_mousescroll() (#27359)
Problem: The call to redraw_for_cursorline() in nv_mousescroll() is unnecessary because redraw_for_cursorline() only sets redraw type to UPD_VALID, and all code paths in do_mousescroll() already set redraw type to at least UPD_VALID. Solution: Remove call to redraw_for_cursorline() in nv_mousescroll(). (zeertzjq) closes: vim/vim#13979 https://github.com/vim/vim/commit/3f1b5312e0fa0089f255bf9c0c3b27590552119e
Diffstat (limited to 'runtime/lua/vim/diagnostic.lua')
0 files changed, 0 insertions, 0 deletions