Skip to content

Commit 6b73a5d

Browse files
committed
Fix: taggo commands
1 parent 5e2fba8 commit 6b73a5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/out.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ func (out *pmyOut) buildMainCommand() string {
6969
)
7070
} else {
7171
res += fmt.Sprintf(
72-
"%v | taggo --color '%v' --tag '%v' --delimiter '%v' ;",
72+
"%v | taggo --tag '%v' --tagColor '%v' --tagDelimiter '%v' ;",
7373
cg.Stmt,
74-
cg.TagColor,
7574
cg.tagAligned,
75+
cg.TagColor,
7676
pmyDelimiter,
7777
)
7878
}
@@ -125,7 +125,7 @@ func (out *pmyOut) expandAllMagics() {
125125
snippetBaseName := strings.Replace(cg.Stmt, "%", "", -1)
126126
snippetPath := fmt.Sprintf("%v/%v.txt", PmySnippetRoot, snippetBaseName)
127127
cg.Stmt = fmt.Sprintf(
128-
"cat %v | taggo --index 0 --color yellow --delimiter ' '",
128+
"cat %v | taggo --colorizeQuery '0:yellow' --delimiter ' '",
129129
snippetPath,
130130
)
131131
}

0 commit comments

Comments
 (0)