diff options
author | Tomasz N <przepompownia@users.noreply.github.com> | 2024-10-10 11:40:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-10 11:40:03 +0200 |
commit | b3109084c2c3675aa886bf16ff15f50025f30096 (patch) | |
tree | 3fbd9a0fc4d4c2802e93c853f0f6cd4997be55e5 /runtime/lua/vim/_editor.lua | |
parent | 641c4b1a2acbf4d93142af9799dd13539b6ecde9 (diff) | |
download | rneovim-b3109084c2c3675aa886bf16ff15f50025f30096.tar.gz rneovim-b3109084c2c3675aa886bf16ff15f50025f30096.tar.bz2 rneovim-b3109084c2c3675aa886bf16ff15f50025f30096.zip |
fix(lsp): fix cursor position after snippet expansion (#30659)
Problem: on `CompleteDone` cursor can jump to the end of line instead of
the end of the completed word.
Solution: remove only inserted word for snippet expansion instead of everything
until eol.
Fixes #30656
Co-authored-by: Mathias Fussenegger <f.mathias@zignar.net>
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions