fix: Fix auto-ref completions inserting into wrong locations

This commit is contained in:
Lukas Wirth 2022-06-20 18:59:57 +02:00
parent 1f028403cd
commit 06ee4d6222
10 changed files with 98 additions and 94 deletions

View file

@ -556,6 +556,7 @@ impl<'a> CompletionContext<'a> {
has_macro_bang: false,
qualified: Qualified::No,
parent: path.parent_path(),
path: path.clone(),
kind: PathKind::Item { kind: ItemListKind::SourceFile },
has_type_args: false,
use_tree_parent: false,