Add statfmt option (#1288)

* Add `fileinfofmt` option

* echof is now unused

* Use different default for Windows

* Add new line to docs

* Indent placeholders description in documentation

* Change option name to `statfmt`

* Use plain text format for documentation
This commit is contained in:
Joe Lim authored and GitHub committed 2023-06-09 14:45:35 +03:00
1 parent 59f32193ae
commit 2ab4b14e88
9 files changed
+50 -17

No files matched your search

+2
View File
@@ -801,6 +801,8 @@ func (e *setExpr) eval(app *app, args []string) {
}
app.nav.sort()
app.ui.sort()
case "statfmt":
gOpts.statfmt = e.val
case "tabstop":
n, err := strconv.Atoi(e.val)
if err != nil {