Shougo / ddu-ui-ff

Fuzzy finder UI for ddu.vim
MIT License
55 stars 26 forks source link

denops async errors test #106

Closed Shougo closed 1 year ago

Shougo commented 1 year ago

Minimal vimrc

set rtp+=~/work/ddu.vim
set rtp+=~/work/ddu-ui-ff
set rtp+=~/work/denops.vim
set rtp+=~/work/ddu-source-file_rec

cd ~/src/vim

call ddu#custom#patch_global('ui', 'ff')

nnoremap a <Cmd>call ddu#start(#{sources: [#{name: 'file_rec'}]})<CR>

autocmd FileType ddu-ff call s:ddu_ff_my_settings()
function s:ddu_ff_my_settings() abort
  nnoremap <buffer> q
        \ <Cmd>call ddu#ui#do_action('quit')<CR>
endfunction

To reproduce: