chore(diffview): remove unused `SyntaxHighlight` option

Andrey Nering created

Use `ChromeStyle` instead.

Change summary

internal/exp/diffview/diffview.go | 7 -------
1 file changed, 7 deletions(-)

Detailed changes

internal/exp/diffview/diffview.go 🔗

@@ -38,7 +38,6 @@ type DiffView struct {
 	after        file
 	contextLines int
 	lineNumbers  bool
-	highlight    bool
 	height       int
 	width        int
 	xOffset      int
@@ -115,12 +114,6 @@ func (dv *DiffView) LineNumbers(lineNumbers bool) *DiffView {
 	return dv
 }
 
-// SyntaxHightlight sets whether to enable syntax highlighting in the DiffView.
-func (dv *DiffView) SyntaxHightlight(highlight bool) *DiffView {
-	dv.highlight = highlight
-	return dv
-}
-
 // Height sets the height of the DiffView.
 func (dv *DiffView) Height(height int) *DiffView {
 	dv.height = height