aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/text.lua
diff options
context:
space:
mode:
authorTomasz N <przepompownia@users.noreply.github.com>2024-10-10 11:40:03 +0200
committerGitHub <noreply@github.com>2024-10-10 11:40:03 +0200
commitb3109084c2c3675aa886bf16ff15f50025f30096 (patch)
tree3fbd9a0fc4d4c2802e93c853f0f6cd4997be55e5 /runtime/lua/vim/text.lua
parent641c4b1a2acbf4d93142af9799dd13539b6ecde9 (diff)
downloadrneovim-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/text.lua')
0 files changed, 0 insertions, 0 deletions