diff options
author | glepnir <glephunter@gmail.com> | 2025-02-13 18:24:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-13 11:24:38 +0100 |
commit | c374f264305f0cae77b13eba99db027aa7a6cb07 (patch) | |
tree | 9757799a167a2a8b9840cad6b1a057d83a5b8983 /runtime/lua/vim/lsp/protocol.lua | |
parent | b42dc232c53211e718a39d8df2f80402f7ad9ac6 (diff) | |
download | rneovim-c374f264305f0cae77b13eba99db027aa7a6cb07.tar.gz rneovim-c374f264305f0cae77b13eba99db027aa7a6cb07.tar.bz2 rneovim-c374f264305f0cae77b13eba99db027aa7a6cb07.zip |
fix(lsp): clear word when expand multi-lines word (#32393)
Problem: When expanding a completion item that contains a multi-line word, the word is not deleted correctly.
Solution: If the word contains a line break, delete the text from Context.cursor to the current cursor position.
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
0 files changed, 0 insertions, 0 deletions