diff --git a/app.go b/app.go index d33d065..4f01347 100644 --- a/app.go +++ b/app.go @@ -491,7 +491,6 @@ func (app *app) runShell(s string, args []string, prefix string) { } app.ui.loadFile(app.nav) - app.ui.loadFileInfo(app.nav) switch prefix { case "%": diff --git a/eval.go b/eval.go index f2702cc..ec82326 100644 --- a/eval.go +++ b/eval.go @@ -788,11 +788,9 @@ func (e *callExpr) eval(app *app, args []string) { app.ui.screen.Sync() app.nav.height = app.ui.wins[0].h app.ui.loadFile(app.nav) - 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)