Skip to content

Commit

Permalink
fix(defaultAction) fallback to default action on emtpy expression (#4954
Browse files Browse the repository at this point in the history
)
  • Loading branch information
asmodeus812 authored Mar 25, 2024
1 parent 846994b commit fb030d4
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 fb030d4

Please sign in to comment.