diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-15 05:54:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 05:54:22 +0800 |
commit | ca7dd33fa783181d62b0573082d2e691fcfc29d2 (patch) | |
tree | f07c323c36cd22d522806a3ea1052f84aff66c59 /test/functional/api/window_spec.lua | |
parent | 4de4f13eb35e40799198689a5ae0bc534b4e38a8 (diff) | |
download | rneovim-ca7dd33fa783181d62b0573082d2e691fcfc29d2.tar.gz rneovim-ca7dd33fa783181d62b0573082d2e691fcfc29d2.tar.bz2 rneovim-ca7dd33fa783181d62b0573082d2e691fcfc29d2.zip |
fix(highlight): don't show CursorColumn on current line (#27848)
Problem:
CursorColumn highlight behavior is inconsistent with 'virtualedit' set:
- If cursor is on the text, CursorColumn is not shown.
- If cursor is after end of line, CursorColumn is shown.
Solution:
Don't shown CursorColumn on current line if cursor is after end of line.
Vim doesn't have this problem because in most cases it uses the code
path for drawing buffer text when CursorColumn highlight is needed.
Diffstat (limited to 'test/functional/api/window_spec.lua')
0 files changed, 0 insertions, 0 deletions