From 59f32193aedf14665c926038c7f769a97d3663ca Mon Sep 17 00:00:00 2001 From: Joe Lim <50560759+joelim-work@users.noreply.github.com> Date: Fri, 9 Jun 2023 02:38:23 +1000 Subject: [PATCH] Fix load issue when deleting files (#1292) --- eval.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/eval.go b/eval.go index 6dff0c70..863d4f0c 100644 --- a/eval.go +++ b/eval.go @@ -1171,15 +1171,6 @@ func insert(app *app, arg string) { return } app.nav.unselect() - if gSingleMode { - app.nav.renew() - app.ui.loadFile(app, true) - } else { - if err := remote("send load"); err != nil { - app.ui.echoerrf("delete: %s", err) - return - } - } app.ui.loadFile(app, true) app.ui.loadFileInfo(app.nav) }