diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-10-17 17:49:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-17 17:49:22 +0800 |
commit | c9963e2212bda7a4d2186469ad07078d348353cf (patch) | |
tree | 6f321c74d973eb55e253bfe06c07b46babff246b /runtime/lua/vim/treesitter/dev.lua | |
parent | 35f475d0a51aad03abfc005a0224d315c45ffd67 (diff) | |
download | rneovim-c9963e2212bda7a4d2186469ad07078d348353cf.tar.gz rneovim-c9963e2212bda7a4d2186469ad07078d348353cf.tar.bz2 rneovim-c9963e2212bda7a4d2186469ad07078d348353cf.zip |
vim-patch:9.0.2039: completion shows current word after completion restart (#25682)
Problem: completion shows current word after completion restart
Solution: remove the word being completed after completion restart
The word being completed is shown in a completion list after completion
restart, because it isn't removed from the current buffer before
searching for matches.
Also adjust `Test_complete_add_onechar` to match the new behavior.
closes: vim/vim#13349
https://github.com/vim/vim/commit/2e3cd52fa02b1a208c97992b1bca3b04f7be66d4
Co-authored-by: nwounkn <nwounkn@gmail.com>
Diffstat (limited to 'runtime/lua/vim/treesitter/dev.lua')
0 files changed, 0 insertions, 0 deletions