Automatically load dircounts after enabling it (#2049)
This commit is contained in:
1 parent
f2d5d08952
commit
c31b92491f
2 files changed
+13
-1
No files matched your search
@@ -68,6 +68,10 @@ func (e *setExpr) eval(app *app, args []string) {
|
||||
err = applyBoolOpt(&gOpts.dircache, e)
|
||||
case "dircounts", "nodircounts", "dircounts!":
|
||||
err = applyBoolOpt(&gOpts.dircounts, e)
|
||||
if err == nil {
|
||||
app.nav.renew()
|
||||
app.ui.loadFile(app, false)
|
||||
}
|
||||
case "dirfirst", "nodirfirst", "dirfirst!":
|
||||
err = applyBoolOpt(&gOpts.dirfirst, e)
|
||||
if err == nil {
|
||||
|
||||
Reference in new issue
Block a user