diff options
author | Fredrik Ekre <ekrefredrik@gmail.com> | 2022-06-01 18:56:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-01 18:56:18 +0200 |
commit | 209824ce2c6d37332079e6e213d4b8e257d7d53b (patch) | |
tree | acefbff4b7cf17af4533e34df65e8790eb083ade /runtime/lua/vim/highlight.lua | |
parent | 19e80738e03f352602ec573d3634d53cb6cd09f7 (diff) | |
download | rneovim-209824ce2c6d37332079e6e213d4b8e257d7d53b.tar.gz rneovim-209824ce2c6d37332079e6e213d4b8e257d7d53b.tar.bz2 rneovim-209824ce2c6d37332079e6e213d4b8e257d7d53b.zip |
fix(lsp): adjust offset encoding in lsp.buf.rename() (#18829)
Fix a bug in lsp.buf.rename() where the range returned by the server in
textDocument/prepareRename was interpreted as a byte range directly,
instead of taking the negotiated offset encoding into account. This
caused the placeholder value in vim.ui.input to be incorrect in some
cases, for example when non-ascii characters are used earlier on the
same line.
Diffstat (limited to 'runtime/lua/vim/highlight.lua')
0 files changed, 0 insertions, 0 deletions