Skip to content

Commit 07621ce

Browse files
committed
Use expanded version of text for env var completion
1 parent 75f4c54 commit 07621ce

File tree

1 file changed

+1
-1
lines changed
  • crates/ide-completion/src

1 file changed

+1
-1
lines changed

crates/ide-completion/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ pub fn completions(
183183
CompletionAnalysis::String { original, expanded: Some(expanded) } => {
184184
completions::extern_abi::complete_extern_abi(acc, ctx, expanded);
185185
completions::format_string::format_string(acc, ctx, original, expanded);
186-
completions::env_vars::complete_cargo_env_vars(acc, ctx, original)
186+
completions::env_vars::complete_cargo_env_vars(acc, expanded);
187187
}
188188
CompletionAnalysis::UnexpandedAttrTT {
189189
colon_prefix,

0 commit comments

Comments
 (0)