mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00

**Problem:** For multiline diagnostics, the end column was improperly
calculated by checking the byte index of the character position on the
*start* line.
**Solution:** Calculate the byte index for end_col using the *end* line.
(cherry picked from commit 5d1fd4aca5
)