neovim/test/functional/plugin/lsp
Tomasz N b3109084c2
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>
2024-10-10 11:40:03 +02:00
..
codelens_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
completion_spec.lua fix(lsp): fix cursor position after snippet expansion (#30659) 2024-10-10 11:40:03 +02:00
diagnostic_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
handler_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
incremental_sync_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
inlay_hint_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
semantic_tokens_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
snippet_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
testutil.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
utils_spec.lua feat(lsp): improve LSP doc hover rendering #30695 2024-10-06 12:20:40 -07:00