support docs in app, platform and packages

This commit is contained in:
faldor20 2024-03-11 11:01:52 +10:00
parent d95da9dd5b
commit f6799cae92
No known key found for this signature in database
GPG key ID: F2216079B890CD57
2 changed files with 41 additions and 4 deletions

View file

@ -457,7 +457,7 @@ fn make_completion_items_string(
.map(|(symbol, var)| make_completion_item(subs, module_id, interns, None, symbol, var))
.collect()
}
///This efficently walks the list of docs checking fewer times
///Efficently walks the list of docs collecting the docs for completions as we go. Should be faster than re-walking for every completion
fn get_completion_docs(
completions: &[(Symbol, Variable)],
docs: &ModuleDocumentation,