mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
Update syntax map's interpolated version when a parse completes
This commit is contained in:
parent
ced45cbb0a
commit
587175d0ea
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue