From 587175d0ea007875704813fe5beb274d9072c315 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 24 Aug 2022 15:09:10 -0700 Subject: [PATCH] Update syntax map's interpolated version when a parse completes --- crates/language/src/syntax_map.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/language/src/syntax_map.rs b/crates/language/src/syntax_map.rs index ca0c28202c..14055991e6 100644 --- a/crates/language/src/syntax_map.rs +++ b/crates/language/src/syntax_map.rs @@ -173,6 +173,7 @@ impl SyntaxMap { } pub fn did_parse(&mut self, snapshot: SyntaxSnapshot, version: clock::Global) { + self.interpolated_version = version.clone(); self.parsed_version = version; self.snapshot = snapshot; }