The behavior is different when opening the filter manually and when opening the filter with autocmd.
Expected
There are the following differences when running openFilterWindow with autocmd and when running openFilterWindow manually using the configured keymap.
autocmd
The list of items will not be updated until you confirm what you entered in the cmdline.
keymap
The list of items is updated to sync with the input in cmdline
I would like to unify the behavior with keymap or autocmd.
Ideally, the behavior when using keymap is the best, but as far as I have checked the specifications,
I think that the behavior when using autocmd is the expected behavior.
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1713484068
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/share/nvim"
Run :checkhealth for more info
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled May 26 2024 00:11:37)
Included patches: 1-445
Compiled by Arch Linux
Huge version without GUI. Features included (+) or not (-):
Provide a minimal init.vim/vimrc without plugin managers (Required!)
Problems summary
The behavior is different when opening the filter manually and when opening the filter with autocmd.
Expected
There are the following differences when running
openFilterWindow
with autocmd and when runningopenFilterWindow
manually using the configured keymap.I would like to unify the behavior with
keymap
orautocmd
. Ideally, the behavior when usingkeymap
is the best, but as far as I have checked the specifications, I think that the behavior when usingautocmd
is the expected behavior.Environment Information
ddu-ui-ff version (SHA1): 5749699
denops.vim version (SHA1): https://github.com/vim-denops/denops.vim/commit/9dd9ae9da9b8d65916dd44e0e4d881665397de63
deno version(
deno -V
output):deno 1.43.6
OS: Arch Linux
neovim/Vim
:version
output:Provide a minimal init.vim/vimrc without plugin managers (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
vim -N -u .vimrc
:Test
openFilterWindow
withi
by keymapnvim -u .vimrc