Pass context to env vars completion

This commit is contained in:
btwotwo 2022-10-06 21:35:12 +02:00
parent e2d3c1506f
commit 3732d159b2
No known key found for this signature in database
GPG key ID: D456A0349D73A0A3

View file

@ -183,7 +183,7 @@ pub fn completions(
CompletionAnalysis::String { original, expanded: Some(expanded) } => {
completions::extern_abi::complete_extern_abi(acc, ctx, expanded);
completions::format_string::format_string(acc, ctx, original, expanded);
completions::env_vars::complete_cargo_env_vars(acc, expanded);
completions::env_vars::complete_cargo_env_vars(acc, ctx, expanded);
}
CompletionAnalysis::UnexpandedAttrTT {
colon_prefix,