Skip to content

Commit ab3738e

Browse files
committed
highlight output
1 parent df4f8ce commit ab3738e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Carapace-aws is an enriched completer for [aws-cli].
88

99
The subcommands in [aws-cli] are mostly based on the [botocore] service definitions.
1010
Which are `json` files that contain additional information and static completions.
11-
But these are not fully exposed to the shell completion and only accessible in [auto-prompt].
11+
But these are not fully exposed to the shell and only accessible in [auto-prompt].
1212

1313
Carapace-aws parses the [botocore] service definitions into a [carapace] based completer.
1414
This enables support for descriptions, colored hightlighting, and custom completions.

cmd/carapace-aws/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func init() {
5050
"raw-in-base64-out",
5151
),
5252
"color": carapace.ActionValues("on", "off", "auto").StyleF(style.ForKeyword),
53-
"output": carapace.ActionValues("json", "text", "table", "yaml", "yaml-stream"),
53+
"output": carapace.ActionValues("json", "text", "table", "yaml", "yaml-stream").StyleF(style.ForExtension),
5454
"profile": aws.ActionProfiles(),
5555
"region": aws.ActionRegions(),
5656
})

0 commit comments

Comments
 (0)