mirror of
https://codeberg.org/scip/tablizer.git
synced 2026-02-04 10:20:59 +01:00
refactored line colorizer
This commit is contained in:
@@ -111,10 +111,6 @@ type Config struct {
|
||||
Colorizers []string // []string{"/ /-/", "/foo/fg[:bg]/"}
|
||||
UseColorizers []Transposer // {Search: re, Replace: color}
|
||||
|
||||
/*
|
||||
FIXME: make configurable somehow, config file or ENV
|
||||
see https://github.com/gookit/color.
|
||||
*/
|
||||
ColorStyle color.Style
|
||||
HighlightStyle color.Style
|
||||
NoHighlightStyle color.Style
|
||||
|
||||
@@ -39,7 +39,6 @@ func TestPrepareModeFlags(t *testing.T) {
|
||||
{Modeflag{}, ASCII},
|
||||
}
|
||||
|
||||
// FIXME: use a map for easier printing
|
||||
for _, testdata := range tests {
|
||||
testname := fmt.Sprintf("PrepareModeFlags-expect-%d", testdata.expect)
|
||||
t.Run(testname, func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user