diff options
| author | Volodymyr Chernetskyi <volodymyr_chernetskyi@goodyear.com> | 2026-09-02 13:45:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-02 07:45:52 -0400 |
| commit | 1c31526a90d342253d07cb4e672361baf867be9e (patch) | |
| tree | 12fb53b8fe85ba4fe8112ed9470d31ebe4bbb126 /runtime/lua/vim/loader.lua | |
| parent | 47ce0d1f87e0a80bf4920d83be824aec6a9d3f50 (diff) | |
| download | rneovim-1c31526a90d342253d07cb4e672361baf867be9e.tar.gz rneovim-1c31526a90d342253d07cb4e672361baf867be9e.tar.bz2 rneovim-1c31526a90d342253d07cb4e672361baf867be9e.zip | |
fix(vim.hl): convert finish column independently #41618
Problem:
Coordinates-to-position conversion for the finish column in
`vim.hl.range()` checks the start column. This results in an incorrect
finish column when only one of the column coordinates is `vim.v.maxcol`.
Solution:
Check the finish column when converting the finish position. Update the
existing screen test so that a `vim.v.maxcol` finish highlights the
end-of-line marker, matching the existing `-1` behavior.
Diffstat (limited to 'runtime/lua/vim/loader.lua')
0 files changed, 0 insertions, 0 deletions