Skip to content

Commit

Permalink
fix(defaultAction) fallback to default action on emtpy expression
Browse files Browse the repository at this point in the history
  • Loading branch information
asmodeus812 committed Mar 23, 2024
1 parent 846994b commit 30f56c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/list/mappings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', '<C-s>', 'do:switch')
Expand Down

0 comments on commit 30f56c7

Please sign in to comment.