Reuse existing suggestion when inserting to avoid flickering

This commit is contained in:
Antonio Scandurra 2023-03-27 16:21:43 +02:00 committed by Mikayla Maki
parent 6715e5247c
commit 1162615043
2 changed files with 117 additions and 53 deletions

View file

@ -81,7 +81,7 @@ impl Status {
}
}
#[derive(Debug)]
#[derive(Debug, PartialEq, Eq)]
pub struct Completion {
pub position: Anchor,
pub text: String,