Implement simple code action quickfix for unknown variable.

This commit is contained in:
KtorZ
2023-10-20 17:59:18 +02:00
parent c4221730bf
commit 66ade8e3e3
4 changed files with 113 additions and 6 deletions

View File

@@ -38,8 +38,6 @@ impl LspProject {
self.project.restore(checkpoint);
result?;
let modules = self.project.modules();
for mut module in modules.into_iter() {
@@ -61,6 +59,8 @@ impl LspProject {
self.modules.insert(module.name.to_string(), module);
}
result?;
Ok(())
}
}