From f066df674abf68b96b78a721cf2d16acfaa3a780 Mon Sep 17 00:00:00 2001 From: Joe Lim <50560759+joelim-work@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:15:33 +1100 Subject: [PATCH] Clear error when opening files (#1809) --- eval.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eval.go b/eval.go index bd553a85..445d0813 100644 --- a/eval.go +++ b/eval.go @@ -1082,6 +1082,8 @@ func (e *callExpr) eval(app *app, args []string) { return } + app.ui.loadFileInfo(app.nav) + if cmd, ok := gOpts.cmds["open"]; ok { cmd.eval(app, e.args) }