mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-26 03:59:55 +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) {
|
pub fn did_parse(&mut self, snapshot: SyntaxSnapshot, version: clock::Global) {
|
||||||
|
self.interpolated_version = version.clone();
|
||||||
self.parsed_version = version;
|
self.parsed_version = version;
|
||||||
self.snapshot = snapshot;
|
self.snapshot = snapshot;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue