Skip to content

Commit

Permalink
utils getFindBar() returns a promise (#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatogh authored and lydell committed Aug 5, 2018
1 parent 859a1ba commit 1c56cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/lib/modes.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ mode('find', {
{vim} = args
switch
when match.type == 'full'
utils.getFindBar(vim.window.gBrowser, (findBar) ->
utils.getFindBar(vim.window.gBrowser).then((findBar) ->
args.findBar = findBar
match.command.run(args)
)
Expand Down

0 comments on commit 1c56cdb

Please sign in to comment.