Skip to content

Commit

Permalink
CocActionAsync called instead of CocAction for OR command. (#3499)
Browse files Browse the repository at this point in the history
  • Loading branch information
dev7ba authored Dec 3, 2021
1 parent 0480cbd commit 021afa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ command! -nargs=0 Format :call CocAction('format')
command! -nargs=? Fold :call CocAction('fold', <f-args>)
" Add `:OR` command for organize imports of the current buffer.
command! -nargs=0 OR :call CocAction('runCommand', 'editor.action.organizeImport')
command! -nargs=0 OR :call CocActionAsync('runCommand', 'editor.action.organizeImport')
" Add (Neo)Vim's native statusline support.
" NOTE: Please see `:h coc-status` for integrations with external plugins that
Expand Down

0 comments on commit 021afa2

Please sign in to comment.