Fix statusbar spacing (#1205)

* Fix statusbar spacing

* Fix ruler option check
This commit is contained in:
Joe Lim authored and GitHub committed 2023-04-15 19:51:51 +03:00
1 parent 55ad40ac0a
commit c0dfb3c4f5
4 files changed
+22 -19

No files matched your search

+1 -1
View File
@@ -490,7 +490,7 @@ func (e *setExpr) eval(app *app, args []string) {
toks := strings.Split(e.val, ":")
for _, s := range toks {
switch s {
case "df", "acc", "progress", "selection", "ind", "tot":
case "df", "acc", "progress", "selection", "ind":
default:
app.ui.echoerr("ruler: should consist of 'df', 'acc', 'progress', 'selection', or 'ind' separated with colon")
return