Reuse existing suggestion when inserting to avoid flickering

This commit is contained in:
Antonio Scandurra
2023-03-28 09:42:01 -07:00
committed by Mikayla Maki
parent 6715e5247c
commit 1162615043
2 changed files with 117 additions and 53 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ impl Status {
}
}
#[derive(Debug)]
#[derive(Debug, PartialEq, Eq)]
pub struct Completion {
pub position: Anchor,
pub text: String,