Skip to content

Commit

Permalink
Merge pull request #862 from rsteube/doc-fix-rename
Browse files Browse the repository at this point in the history
doc: fix rename
  • Loading branch information
rsteube committed Jul 30, 2023
2 parents 64e2b3a + 29b6a8b commit 89a7453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/carapace/action/multiPartsP.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ carapace.ActionStyledValuesDescribed(
"styles", "list", style.Yellow,
"styles/<style>", "details", style.Default,
).MultiPartsP("/", "<.*>", func(placeholder string, matches map[string]string) carapace.Action {
switch segment {
switch placeholder {
case "<key>":
return carapace.ActionValues("key1", "key2")
case "<style>":
Expand Down

0 comments on commit 89a7453

Please sign in to comment.