feat(lsp): bring over some stuff for completions, it basically doesn't work right though

This commit is contained in:
rvcas
2023-02-20 12:55:00 -05:00
committed by Lucas
parent 02eaefce21
commit c033cab79e
3 changed files with 71 additions and 8 deletions

View File

@@ -125,6 +125,10 @@ where
self.checked_modules.values().cloned().collect()
}
pub fn importable_modules(&self) -> Vec<String> {
self.module_types.keys().cloned().collect()
}
pub fn checkpoint(&self) -> Checkpoint {
Checkpoint {
module_types: self.module_types.clone(),