Add ruler file for customizing the ruler (#2186)
* Add ruler file for customizing the ruler * Update `CHANGELOG.md` * Show ruler errors instead of logging them * Allow multiple sections * Show syntax errors for ruler file * Add line percentage * Add lower/upper functions * Add back truncation * Use fmt options --------- Co-authored-by: CatsDeservePets <145048791+CatsDeservePets@users.noreply.github.com>
This commit is contained in:
1 parent
5d93764c79
commit
7b6b6da100
11 files changed
+497
-2
No files matched your search
@@ -160,6 +160,8 @@ func (e *setExpr) eval(app *app, args []string) {
|
||||
}
|
||||
case "roundbox", "noroundbox", "roundbox!":
|
||||
err = applyBoolOpt(&gOpts.roundbox, e)
|
||||
case "rulerfile", "norulerfile", "rulerfile!":
|
||||
err = applyBoolOpt(&gOpts.rulerfile, e)
|
||||
case "showbinds", "noshowbinds", "showbinds!":
|
||||
err = applyBoolOpt(&gOpts.showbinds, e)
|
||||
// DEPRECATED: remove after r38 is released
|
||||
|
||||
Reference in new issue
Block a user