mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +00:00
fix(extmark): builtin completion can still affect nearby extmarks #31387
Problem: Built-in completion can still affect nearby extmarks. #31384 Solution: Restore extmarks when completion leader changes.
This commit is contained in:
@@ -1805,6 +1805,7 @@ static void ins_compl_new_leader(void)
|
||||
ins_compl_del_pum();
|
||||
ins_compl_delete();
|
||||
ins_bytes(compl_leader + get_compl_len());
|
||||
restore_orig_extmarks();
|
||||
compl_used_match = false;
|
||||
|
||||
if (compl_started) {
|
||||
|
Reference in New Issue
Block a user