aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/vimfn.lua
diff options
context:
space:
mode:
authortris203 <admin@snappeh.com>2024-09-09 22:39:02 +0100
committerMathias Fußenegger <mfussenegger@users.noreply.github.com>2024-09-10 09:25:04 +0200
commitf279d1ae33ee5650bccf7b52f9f29fd192ccea1d (patch)
treed431d49163a8889899336c2516eebc9d874e17b6 /runtime/lua/vim/_meta/vimfn.lua
parent9ddfcb64bfdb762d12cf9d5a98600c27b6a3a17d (diff)
downloadrneovim-f279d1ae33ee5650bccf7b52f9f29fd192ccea1d.tar.gz
rneovim-f279d1ae33ee5650bccf7b52f9f29fd192ccea1d.tar.bz2
rneovim-f279d1ae33ee5650bccf7b52f9f29fd192ccea1d.zip
fix(lsp): handle encoding bounds in str_utfindex_enc
Problem: str_utfindex_enc could return an error if the index was longer than the line length. This was handled in each of the calls to it individually Solution: * Fix the call at the source level so that if the index is higher than the line length, utf length is returned
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
0 files changed, 0 insertions, 0 deletions