Skip to content

Commit

Permalink
Merge pull request #118 from 4513ECHO/fix/ui_get_items
Browse files Browse the repository at this point in the history
fix: Unify return type of ddu#ui#get_items()
  • Loading branch information
Shougo authored Jul 12, 2024
2 parents 09a8c95 + aa5fa79 commit 72a8150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/ddu/ui.vim
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ endfunction

function ddu#ui#get_items(name=b:->get('ddu_ui_name', '')) abort
call ddu#ui_sync_action(a:name, 'getItems', {})
return b:->get('ddu_ui_items', {})
return b:->get('ddu_ui_items', [])
endfunction

function ddu#ui#get_selected_items(name=b:->get('ddu_ui_name', '')) abort
Expand Down

0 comments on commit 72a8150

Please sign in to comment.