load modified previews after shell-pipe commands

This commit is contained in:
Gokcehan committed 2020-09-05 14:09:52 +03:00
1 parent ab6549679b
commit b608682580
1 file changed
+2
+2
View File
@@ -791,6 +791,8 @@ func (e *callExpr) eval(app *app, args []string) {
app.ui.loadFileInfo(app.nav)
case "load":
app.nav.renew()
app.ui.loadFile(app.nav)
app.ui.loadFileInfo(app.nav)
case "reload":
if err := app.nav.reload(); err != nil {
app.ui.echoerrf("reload: %s", err)