Files
neovim/runtime/lua/vim/lsp
Tristan Knight 84bbbd9fbe fix(lsp): str_byteindex_enc bounds checking #30747
Problem:
Previously the index was only checked against the UTF8 length. This
could cause unexpected behaviours for strings containing multibyte chars

Solution:
Check indicies correctly against their max value before returning the
fallback length

(cherry picked from commit 80e37aa533)
2024-10-16 17:25:37 +00:00
..
2024-03-06 16:03:33 +00:00
2024-02-27 14:41:17 +00:00