Use expanded version of text for env var completion

This commit is contained in:
btwotwo 2022-10-06 16:25:12 +02:00
parent 75f4c54d8c
commit 07621ce096
No known key found for this signature in database
GPG Key ID: D456A0349D73A0A3

@ -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, ctx, original)
completions::env_vars::complete_cargo_env_vars(acc, expanded);
}
CompletionAnalysis::UnexpandedAttrTT {
colon_prefix,