aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/_snippet.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-12-15 09:07:23 -0800
committerMichael Lingelbach <m.j.lbach@gmail.com>2021-12-15 09:07:23 -0800
commit1a887293ef66b51220d40f8f91dfc8245f8aeec5 (patch)
treee6d891ee0a77905c3b60bb7bd6228782654b7282 /runtime/lua/vim/lsp/_snippet.lua
parent2fe60905f6e12b3cae5c9ca2d1456fe23501be61 (diff)
downloadrneovim-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/_snippet.lua')
0 files changed, 0 insertions, 0 deletions