fix: do not call `SyntaxHighlight`. `ChromaStyle` is enough

Andrey Nering created

Change summary

internal/tui/components/core/helpers.go | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

Detailed changes

internal/tui/components/core/helpers.go 🔗

@@ -150,8 +150,6 @@ func SelectableButtons(buttons []ButtonOpts, spacing string) string {
 func DiffFormatter() *diffview.DiffView {
 	formatDiff := diffview.New()
 	style := chroma.MustNewStyle("crush", styles.GetChromaTheme())
-	diff := formatDiff.
-		SyntaxHightlight(true).
-		ChromaStyle(style)
+	diff := formatDiff.ChromaStyle(style)
 	return diff
 }