Make autocompletion and copilot mutually exclusive
This commit is contained in:
parent
b6a9d90609
commit
ec5309b543
3 changed files with 36 additions and 53 deletions
|
@ -230,6 +230,10 @@ impl DisplayMap {
|
|||
self.text_highlights.remove(&Some(type_id))
|
||||
}
|
||||
|
||||
pub fn has_suggestion(&self) -> bool {
|
||||
self.suggestion_map.has_suggestion()
|
||||
}
|
||||
|
||||
pub fn replace_suggestion<T>(
|
||||
&self,
|
||||
new_suggestion: Option<Suggestion<T>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue