fix: do not call `SyntaxHighlight`. `ChromaStyle` is enough
commitd8c869a62cfe3540939345809d3025de90b2ac44
authorAndrey Nering <andreynering@users.noreply.github.com>
dateTue 17 Jun 2025, 14:44 (1 year ago)
parente3bf5ae
internal/tui/components/core/helpers.go+1−3
@@ -150,8 +150,6 @@ func SelectableButtons(buttons []ButtonOpts, spacing string) string {
150150func DiffFormatter() *diffview.DiffView {
151151 formatDiff := diffview.New()
152152 style := chroma.MustNewStyle("crush", styles.GetChromaTheme())
153− diff := formatDiff.
154− SyntaxHightlight(true).
155− ChromaStyle(style)
153+ diff := formatDiff.ChromaStyle(style)
156154 return diff
157155}