Skip to content

Commit

Permalink
Fix API
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jul 9, 2023
1 parent 1188a06 commit b55db04
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions autoload/ddu/ui.vim
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
function ddu#ui#async_action(name, options = {}) abort
call ddu#ui_async_action(get(b:, 'ddu_ui_name', ''), a:name, a:options)
function ddu#ui#async_action(name, params = {}) abort
call ddu#ui_async_action(get(b:, 'ddu_ui_name', ''), a:name, a:params)
endfunction

function ddu#ui#sync_action(name, options = {}) abort
call ddu#ui_sync_action(get(b:, 'ddu_ui_name', ''), a:name, a:options)
function ddu#ui#sync_action(name, params = {}) abort
call ddu#ui_sync_action(get(b:, 'ddu_ui_name', ''), a:name, a:params)
endfunction

function ddu#ui#do_action(name, options = {}) abort
return ddu#ui#sync_action(a:name, a:options)
function ddu#ui#do_action(name, params = {}) abort
return ddu#ui#sync_action(a:name, a:params)
endfunction

function ddu#ui#multi_actions(actions) abort
Expand Down

0 comments on commit b55db04

Please sign in to comment.