Complete exported macros in #[macro_use($0)]

This commit is contained in:
unexge 2023-12-16 16:19:58 +00:00
parent 21b06c1beb
commit b986d8ac92
6 changed files with 123 additions and 0 deletions

View file

@ -211,12 +211,14 @@ pub fn completions(
CompletionAnalysis::UnexpandedAttrTT {
colon_prefix,
fake_attribute_under_caret: Some(attr),
extern_crate,
} => {
completions::attribute::complete_known_attribute_input(
acc,
ctx,
colon_prefix,
attr,
extern_crate.as_ref(),
);
}
CompletionAnalysis::UnexpandedAttrTT { .. } | CompletionAnalysis::String { .. } => (),