aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorOleh Volynets <saggot91@gmail.com>2026-06-15 17:11:57 +0200
committerGitHub <noreply@github.com>2026-06-15 11:11:57 -0400
commitb55a8683091137142fe35469d922605266de6dda (patch)
tree815214220830e743eff5f6523c1771e0f67a4d3a /test/functional/vimscript/executable_spec.lua
parent145b20eb89c902a6b1755c194a035411381c4a36 (diff)
downloadrneovim-b55a8683091137142fe35469d922605266de6dda.tar.gz
rneovim-b55a8683091137142fe35469d922605266de6dda.tar.bz2
rneovim-b55a8683091137142fe35469d922605266de6dda.zip
feat(diagnostic): debounce current-line render #39542
Problem: vim.diagnostic.Opts.VirtualLines.current_line and vim.diagnostic.Opts.VirtualText.current_line cause redraw on every CursorMoved event that makes the text jump uncomfortably with rapid cursor movement. Solution: `current_line` state is applied only on CursorHold, while still being cleared on CursorMoved making it so that until the cursor has stopped on a line, its diagnostic looks like cursor is not on the line preventing flicker.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions