From e3bf5ae97f1a369ed21e3e21c36db93ee494b45c Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Tue, 17 Jun 2025 14:41:15 -0300 Subject: [PATCH] chore(diffview): remove unused `SyntaxHighlight` option Use `ChromeStyle` instead. --- internal/exp/diffview/diffview.go | 7 ------- 1 file changed, 7 deletions(-) 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