mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Use expanded version of text for env var completion
This commit is contained in:
parent
75f4c54d8c
commit
07621ce096
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ pub fn completions(
|
||||||
CompletionAnalysis::String { original, expanded: Some(expanded) } => {
|
CompletionAnalysis::String { original, expanded: Some(expanded) } => {
|
||||||
completions::extern_abi::complete_extern_abi(acc, ctx, expanded);
|
completions::extern_abi::complete_extern_abi(acc, ctx, expanded);
|
||||||
completions::format_string::format_string(acc, ctx, original, 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 {
|
CompletionAnalysis::UnexpandedAttrTT {
|
||||||
colon_prefix,
|
colon_prefix,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue