diff --git a/comp.go b/comp.go index 95348dd..66abaf2 100644 --- a/comp.go +++ b/comp.go @@ -67,9 +67,6 @@ var ( "ignorecase", "noignorecase", "ignorecase!", - "lscolors", - "nolscolors", - "lscolors!", "preview", "nopreview", "preview!", diff --git a/doc.go b/doc.go index f0198b6..04c6e63 100644 --- a/doc.go +++ b/doc.go @@ -79,7 +79,6 @@ The following options can be used to customize the behavior of lf: globsearch boolean (default off) hidden boolean (default off) ignorecase boolean (default on) - lscolors boolean (default on) preview boolean (default on) reverse boolean (default off) smartcase boolean (default on) diff --git a/docstring.go b/docstring.go index 9825eac..7c12645 100644 --- a/docstring.go +++ b/docstring.go @@ -83,7 +83,6 @@ The following options can be used to customize the behavior of lf: globsearch boolean (default off) hidden boolean (default off) ignorecase boolean (default on) - lscolors boolean (default on) preview boolean (default on) reverse boolean (default off) smartcase boolean (default on) diff --git a/eval.go b/eval.go index 50a6a69..3536ad2 100644 --- a/eval.go +++ b/eval.go @@ -47,15 +47,6 @@ func (e *setExpr) eval(app *app, args []string) { gOpts.ignorecase = false case "ignorecase!": gOpts.ignorecase = !gOpts.ignorecase - case "lscolors": - gOpts.lscolors = true - app.ui.colors = parseColors() - case "nolscolors": - gOpts.lscolors = false - app.ui.colors = parseColors() - case "lscolors!": - gOpts.lscolors = !gOpts.lscolors - app.ui.colors = parseColors() case "preview": gOpts.preview = true case "nopreview": diff --git a/opts.go b/opts.go index f04226c..b2892e9 100644 --- a/opts.go +++ b/opts.go @@ -8,7 +8,6 @@ var gOpts struct { globsearch bool hidden bool ignorecase bool - lscolors bool preview bool reverse bool smartcase bool @@ -35,7 +34,6 @@ func init() { gOpts.globsearch = false gOpts.hidden = false gOpts.ignorecase = true - gOpts.lscolors = true gOpts.preview = true gOpts.reverse = false gOpts.smartcase = true