diff options
author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-12-15 09:07:23 -0800 |
---|---|---|
committer | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-12-15 09:07:23 -0800 |
commit | 1a887293ef66b51220d40f8f91dfc8245f8aeec5 (patch) | |
tree | e6d891ee0a77905c3b60bb7bd6228782654b7282 /runtime/lua/vim/lsp/sync.lua | |
parent | 2fe60905f6e12b3cae5c9ca2d1456fe23501be61 (diff) | |
download | rneovim-1a887293ef66b51220d40f8f91dfc8245f8aeec5.tar.gz rneovim-1a887293ef66b51220d40f8f91dfc8245f8aeec5.tar.bz2 rneovim-1a887293ef66b51220d40f8f91dfc8245f8aeec5.zip |
fix: do not cast offset to char_u
* str_utf_start/end both cast the offset into the utf string
to a char_u, a pointer + long is well-defined and the cast is
unnecessary. This previously resulted in issues for offsets greater than
256.
Diffstat (limited to 'runtime/lua/vim/lsp/sync.lua')
0 files changed, 0 insertions, 0 deletions