From 30f56c70404fbce64d9231ce4fd0d850a8dad51a Mon Sep 17 00:00:00 2001 From: asmodeus Date: Sat, 23 Mar 2024 15:30:35 +0200 Subject: [PATCH] fix(defaultAction) fallback to default action on emtpy expression --- src/list/mappings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list/mappings.ts b/src/list/mappings.ts index e95c46bfd0b..8d04c023100 100644 --- a/src/list/mappings.ts +++ b/src/list/mappings.ts @@ -141,7 +141,7 @@ export default class Mappings { }) this.addAction('expr', async expr => { let name = await manager.call(expr) - if (name) await manager.doAction(name) + await manager.doAction(name) }) this.addKeyMapping('insert', '', 'do:switch')