diff --git a/crates/analyzer/src/lib.rs b/crates/analyzer/src/lib.rs index 0ba2e7d..7602f4c 100644 --- a/crates/analyzer/src/lib.rs +++ b/crates/analyzer/src/lib.rs @@ -26,7 +26,7 @@ use crate::transpiler::{ static MARKER_COUNTER: AtomicU64 = AtomicU64::new(0); -const KEYWORDS: [&'static str; 22] = [ +const KEYWORDS: [&'static str; 23] = [ "if", "else", "for", @@ -49,6 +49,7 @@ const KEYWORDS: [&'static str; 22] = [ "override", "module ", "void ", + "virtual ", ]; fn keyword_completion_items() -> impl Iterator { @@ -1630,11 +1631,11 @@ fn mist_ify_completions(source: &str, pos: &Position, items: &mut Vec