-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nvim_win_set_cursor()
doesn't redraw for cursorcolumn
#19063
Comments
I'd be happy to tackle this one. Would this be good as a first issue? Any directions to get me going? |
Probably just need to call |
Well, that seems to be correct. Lines 337 to 343 in 2685d27
I'll make sure to have a PR for this tomorrow, then. Thank you! |
Or maybe just calling |
… window fix neovim#19063 this fixes the cursorcolumn not being redraw for non-current windows in `nvim_win_set_cursor()`
… window fix neovim#19063 this fixes the cursorcolumn not being redrawn for non-current windows in `nvim_win_set_cursor()`
… window fix neovim#19063 this fixes the cursorcolumn not being redrawn for non-current windows in `nvim_win_set_cursor()`
… window fix neovim#19063 this fixes the cursorcolumn not being redrawn for non-current windows in `nvim_win_set_cursor()`
…dow (neovim#21072) fix neovim#19063 this fixes the cursorcolumn not being redrawn for non-current windows in `nvim_win_set_cursor()`
Neovim version (nvim -v)
NVIM v0.8.0-dev+441-ge651ae586
Vim (not Nvim) behaves the same?
No
Operating system/version
EndeavourOS 5.18.3-arch1-1
Terminal name/version
xfce4-terminal 1.0.4 (Xfce 4.16)
$TERM environment variable
xterm-256color
Installation
appimage
How to reproduce the issue
nvim -u init-cursorcolumn.lua
:lua vim.api.nvim_win_set_cursor(1001, {3, 2})
. This changes cursor position in the non-current window, redraws cursorline, but not cursorcolumn. Explicit call:redraw
places cursorcolumn where it should be.This seems to be known about (#17414). Decided to make the issue so that this less likely get forgotten.
Expected behavior
Cursorcolumn is updated immediately. Like with
windo call cursor(3, 3)
but only for specified window.Actual behavior
neovim-issue_cursorcolumn.mp4
The text was updated successfully, but these errors were encountered: