Add stub for cargo environment variables auto completion

This commit is contained in:
btwotwo 2022-10-05 00:02:03 +02:00
parent a415fb4c4e
commit 75f4c54d8c
No known key found for this signature in database
GPG key ID: D456A0349D73A0A3
3 changed files with 62 additions and 0 deletions

View file

@ -183,6 +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)
}
CompletionAnalysis::UnexpandedAttrTT {
colon_prefix,