Closed hyuoou closed 1 year ago
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
When using autoAction, startFilter and split float, the filter window may not open properly.
Open the filter window normally.
ddu-ui-ff version (SHA1): b7aa22b828c3198298d703f9b7123b9c53d0f8d4
b7aa22b828c3198298d703f9b7123b9c53d0f8d4
denops.vim version (SHA1): 8f3899de3d3add07105221262dca90a31c4c2d4c
8f3899de3d3add07105221262dca90a31c4c2d4c
deno version(deno -V output): deno 1.30.3
deno -V
deno 1.30.3
OS: Arch Linux
Arch Linux
neovim/Vim :version output:
:version
NVIM v0.9.0-dev-888+g81c5483dcb Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Compilation: /usr/bin/cc -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fno-common -fdiagnostics-color=always -fstack-protector-strong -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DMIN_LOG_LEVEL=3 -DNVIM_UNIBI_HAS_VAR_FROM -I/usr/include/luajit-2.1 -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/home/hyuoou/.cache/paru/clone/neovim-git/src/build/src/nvim/auto -I/home/hyuoou/.cache/paru/clone/neovim-git/src/build/include -I/home/hyuoou/.cache/paru/clone/neovim-git/src/build/cmake.config -I/home/hyuoou/.cache/paru/clone/neovim-git/src/neovim/src -I/usr/include -I/usr/include -I/usr/include Compiled by hyuoou
Features: +acl +tui See ":help feature-compile"
システム vimrc: "$VIM/sysinit.vim" 省略時の $VIM: "/usr/share/nvim"
Run :checkhealth for more info
## Provide a minimal init.vim/vimrc without plugin managers (Required!) ```vim set runtimepath^=~/plugins/denops.vim set runtimepath^=~/plugins/ddu.vim set runtimepath^=~/plugins/ddu-ui-ff set runtimepath^=~/plugins/ddu-source-file_rec set runtimepath^=~/plugins/ddu-filter-matcher_substring set runtimepath^=~/plugins/ddu-kind-file set runtimepath^=~/plugins/tokyonight.nvim colorscheme tokyonight call ddu#custom#patch_global({ \ 'ui': 'ff', \ 'sources': [{'name': 'file_rec', 'params': {}}], \ 'uiParams': { \ 'ff': { \ 'split': 'floating', \ 'startFilter': v:true, \ 'autoAction': {'name': 'preview'}, \ }, \ }, \ 'sourceOptions': { \ '_': { \ 'matchers': ['matcher_substring'], \ }, \ }, \ 'kindOptions': { \ 'file': { \ 'defaultAction': 'open', \ }, \ } \ }) autocmd FileType ddu-ff call s:ddu_my_settings() function! s:ddu_my_settings() abort nnoremap <buffer><silent> <CR> <Cmd>call ddu#ui#ff#do_action('itemAction')<CR> nnoremap <buffer><silent> i <Cmd>call ddu#ui#ff#do_action('openFilterWindow')<CR> nnoremap <buffer><silent> q <Cmd>call ddu#ui#ff#do_action('quit')<CR> endfunction autocmd FileType ddu-ff-filter call s:ddu_filter_my_settings() function! s:ddu_filter_my_settings() abort inoremap <buffer><silent> <CR> <Esc><Cmd>call ddu#ui#ff#close()<CR> endfunction
call ddu#start({})
https://user-images.githubusercontent.com/63180765/217485192-2ade51f0-413d-46d4-93ec-494a4b9eee3d.mp4
:redir
:message
Reproduced.
Fixed.
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
When using autoAction, startFilter and split float, the filter window may not open properly.
Expected
Open the filter window normally.
Environment Information
ddu-ui-ff version (SHA1):
b7aa22b828c3198298d703f9b7123b9c53d0f8d4
denops.vim version (SHA1):
8f3899de3d3add07105221262dca90a31c4c2d4c
deno version(
deno -V
output):deno 1.30.3
OS:
Arch Linux
neovim/Vim
:version
output:Features: +acl +tui See ":help feature-compile"
Run :checkhealth for more info
How to reproduce the problem from neovim/Vim startup (Required!)
call ddu#start({})
call ddu#start({})
againScreenshot (if possible)
https://user-images.githubusercontent.com/63180765/217485192-2ade51f0-413d-46d4-93ec-494a4b9eee3d.mp4
Upload the log messages by
:redir
and:message
(if errored)