reload directories when 'hiddenfiles' is changed
This commit is contained in:
parent
25e487cc51
commit
99cee56d6e
6
eval.go
6
eval.go
@ -305,7 +305,11 @@ func (e *setExpr) eval(app *app, args []string) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
gOpts.hiddenfiles = strings.Split(e.val, ":")
|
gOpts.hiddenfiles = toks
|
||||||
|
app.nav.sort()
|
||||||
|
app.nav.position()
|
||||||
|
app.ui.sort()
|
||||||
|
app.ui.loadFile(app.nav)
|
||||||
default:
|
default:
|
||||||
app.ui.echoerrf("unknown option: %s", e.opt)
|
app.ui.echoerrf("unknown option: %s", e.opt)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user