Skip to content

Commit

Permalink
Remove ddu#get_item_actions()
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Aug 25, 2023
1 parent e730bdc commit 74688f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
6 changes: 0 additions & 6 deletions autoload/ddu.vim
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ endfunction
function ddu#item_action(name, action, items, params = {}) abort
call ddu#_request('itemAction', [a:name, a:action, a:items, a:params])
endfunction
function ddu#get_item_actions(name, items) abort
if a:name ==# ''
return
endif
return ddu#_request('getItemActionNames', [a:name, a:items])
endfunction
function ddu#get_context(name) abort
if a:name ==# ''
return
Expand Down
8 changes: 3 additions & 5 deletions doc/ddu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -329,11 +329,6 @@ ddu#get_items([{options}])
Refer to |ddu-options| about {options}. If you skip a value,
it uses the default value.

*ddu#get_item_actions()*
ddu#get_item_actions({name}, {items})
Get the {name} actions for {items}.
NOTE: You cannot mix multiple kinds/sources.

*ddu#item_action()*
ddu#item_action({name}, {action}, {items}, {params})
Do the {action} action for {items}.
Expand Down Expand Up @@ -1517,6 +1512,9 @@ A: The example is here. >
==============================================================================
COMPATIBILITY *ddu-compatibility*

2023.08.25
* Remove "ddu#get_item_actions()". It can be get from dispatcher.

2023.07.11
* item actions can close UI when all items are gathered.

Expand Down

0 comments on commit 74688f5

Please sign in to comment.