Closed kamecha closed 1 year ago
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
SSIA
input() work as well as startFilter is false.
input()
startFilter
ddu-ui-ff version (SHA1): 00ad412
denops.vim version (SHA1): 68f607d
deno version(deno -V output): deno 1.33.2
deno -V
OS: WSL2 Ubuntu22.04
neovim/Vim :version output: NVIM v0.10.0-dev-1052+g82150ca51-dirty Build type: RelWithDebInfo LuaJIT 2.1.1693350652
:version
set rtp+=~/.cache/dein/nvim/repos/github.com/vim-denops/denops.vim set rtp+=~/.cache/dein/nvim/repos/github.com/Shougo/ddu.vim set rtp+=~/.cache/dein/nvim/repos/github.com/Shougo/ddu-ui-ff set rtp+=~/.cache/dein/nvim/repos/github.com/Shougo/ddu-source-file set rtp+=~/.cache/dein/nvim/repos/github.com/Shougo/ddu-kind-file function s:unko(args) let hoge = input('piyo: ') return 0 endfunction call ddu#custom#action('kind', 'file', 'unko', function('s:unko')) nnoremap [ddu] <Nop> nmap <Space>u [ddu] nmap <silent> [ddu]f <Cmd>call ddu#start({ \ 'ui': 'ff', \ 'uiParams': { 'ff': { 'startFilter': v:true } }, \ 'sources': [{'name': 'file', 'params': {}}], \ })<CR> autocmd FileType ddu-ff call s:ddu_my_settings() function! s:ddu_my_settings() abort nnoremap <buffer> u \ <ESC><Cmd>call ddu#ui#do_action('itemAction', {'name': 'unko'})<CR> endfunction autocmd FileType ddu-ff-filter call s:ddu_filter_my_settings() function! s:ddu_filter_my_settings() abort inoremap <buffer> <C-l> \ <ESC><Cmd>call ddu#ui#ff#do_action('leaveFilterWindow')<CR> endfunction
<Space>
u
f
<C-l>
startFilter is true
startFilter is false
:redir
:message
Fixed.
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
SSIA
Expected
input()
work as well asstartFilter
is false.Environment Information
ddu-ui-ff version (SHA1): 00ad412
denops.vim version (SHA1): 68f607d
deno version(
deno -V
output): deno 1.33.2OS: WSL2 Ubuntu22.04
neovim/Vim
:version
output: NVIM v0.10.0-dev-1052+g82150ca51-dirty Build type: RelWithDebInfo LuaJIT 2.1.1693350652Provide a minimal init.vim/vimrc without plugin managers (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
<Space>
u
f
to start ddu<C-l>
to leave filter windowu
to fire custom actioninput()
doesn't seem to workScreenshot (if possible)
startFilter
is truestartFilter
is falseUpload the log messages by
:redir
and:message
(if errored)