Icon and filename column for ddu.vim
https://github.com/vim-denops/denops.vim
https://github.com/Shougo/ddu.vim
call ddu#custom#patch_global({
\ 'columns': ['icon_filename'],
\ })
call ddu#custom#alias('column', 'icon_filename_for_ff', 'icon_filename')
call ddu#custom#patch_global({
\ sourceOptions: #{
\ file: #{
\ columns: ['icon_filename']
\ },
\ file_rec: #{
\ columns: ['icon_filename_for_ff']
\ },
\ },
\ columnParams: #{
\ icon_filename: #{
\ defaultIcon: #{ icon = '' },
\ },
\ icon_filename_for_ff: #{
\ defaultIcon: #{ icon = '' },
\ padding = 0,
\ pathDisplayOption = 'relative'
\ }
\ }
\ })