diff --git a/internal/exp/diffview/diffview.go b/internal/exp/diffview/diffview.go index 6e8fe858d10455a85455ec371b421ef272d78d9e..3802b473c4da01f5e6a314b477deae65abde60bc 100644 --- a/internal/exp/diffview/diffview.go +++ b/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