feat: add alt-gutter color option (#4602)

* Add alt-gutter color option

* Simplify the code

---------

Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
This commit is contained in:
RT
2025-11-28 20:43:13 -05:00
committed by GitHub
parent 60a5be1e65
commit 771e35b972
4 changed files with 28 additions and 6 deletions

View File

@@ -1476,6 +1476,8 @@ func parseTheme(defaultTheme *tui.ColorTheme, str string) (*tui.ColorTheme, *tui
mergeAttr(&theme.Nomatch)
case "gutter":
mergeAttr(&theme.Gutter)
case "alt-gutter":
mergeAttr(&theme.AltGutter)
case "hl":
mergeAttr(&theme.Match)
case "current-hl", "hl+":