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')