aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/protocol.lua
diff options
context:
space:
mode:
authorChristian Clason <christian.clason@uni-due.de>2020-05-08 16:04:41 +0200
committerGitHub <noreply@github.com>2020-05-08 10:04:41 -0400
commit281e44f7bb24866d4a580d32aaeab8c8033f1fb0 (patch)
treea2fcc1ce784fdbe126ce57a24540a9cbef11f492 /runtime/lua/vim/lsp/protocol.lua
parent9a67b030d9a054648296b45b615684dee768582d (diff)
downloadrneovim-281e44f7bb24866d4a580d32aaeab8c8033f1fb0.tar.gz
rneovim-281e44f7bb24866d4a580d32aaeab8c8033f1fb0.tar.bz2
rneovim-281e44f7bb24866d4a580d32aaeab8c8033f1fb0.zip
lsp: Make apply_text_edits non-ASCII safe (#12223)
* Make apply_text_edits non-ASCII safe Use `vim.str_byteindex` to correct starting and ending positions for text edits if the line contains non-ASCII characters. Fixes #12221 * text_edit may be applied to other buffers * make sure the buffer is loaded * add comments * add test for non-ASCII edits
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
0 files changed, 0 insertions, 0 deletions