Skip to content

Commit

Permalink
Clear error when opening files (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelim-work authored Oct 10, 2024
1 parent 382095b commit f066df6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit f066df6

Please sign in to comment.