Add completion module tailored towards use trees

This commit is contained in:
Lukas Wirth 2022-02-02 15:03:46 +01:00
parent 6940cca760
commit 661d721e20
12 changed files with 270 additions and 165 deletions

View file

@ -153,6 +153,7 @@ pub fn completions(
let mut acc = Completions::default();
completions::attribute::complete_known_attribute_input(&mut acc, &ctx);
completions::attribute::complete_attribute(&mut acc, &ctx);
completions::use_::complete_use_tree(&mut acc, &ctx);
completions::fn_param::complete_fn_param(&mut acc, &ctx);
completions::keyword::complete_expr_keyword(&mut acc, &ctx);
completions::snippet::complete_expr_snippet(&mut acc, &ctx);