Closed 4513ECHO closed 1 year ago
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
The height of the UI try to be maximized when split is "horizontal" and winHeight is greater than about 0.6 times the &lines.
split
"horizontal"
winHeight
&lines
UI should not be resized.
ddu-ui-ff version (SHA1): 1e36789
1e36789
denops.vim version (SHA1): 22e7ae3
22e7ae3
deno version(deno -V output): deno 1.36.0
deno -V
deno 1.36.0
OS: macOS Ventura 13.4.1 (c)
neovim/Vim :version output:
:version
set rtp^=~/.cache/nvim/dein/repos/github.com/vim-denops/denops.vim set rtp^=~/.cache/nvim/dein/repos/github.com/Shougo/ddu.vim set rtp^=~/.cache/nvim/dein/repos/github.com/Shougo/ddu-ui-ff function Start(winHeight) abort call ddu#start(#{ \ ui: 'ff', \ uiParams: #{ \ ff: #{ winHeight: a:winHeight }, \ }, \ }) endfunction " &lines a:winHeight " 50 30 " 63 38 " 69 42 " 76 47 nnoremap i <Cmd>call ddu#ui#do_action('openFilterWindow')<CR>
Start()
winWidth
i
1.
2.
3.
:redir
:message
Nothing.
Reproduced... It seems Vim's feature.
I have implemented the resize.
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
The height of the UI try to be maximized when
split
is"horizontal"
andwinHeight
is greater than about 0.6 times the&lines
.Expected
UI should not be resized.
Environment Information
ddu-ui-ff version (SHA1):
1e36789
denops.vim version (SHA1):
22e7ae3
deno version(
deno -V
output):deno 1.36.0
OS: macOS Ventura 13.4.1 (c)
neovim/Vim
:version
output:Vim version
``` VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Jul 09 2023 01:38:28) macOS version - arm64 Included patches: 1-1677 Compiled by Homebrew Huge version without GUI. Features included (+) or not (-): +acl +file_in_path +mouse_urxvt -tag_any_white +arabic +find_in_path +mouse_xterm -tcl +autocmd +float +multi_byte +termguicolors +autochdir +folding +multi_lang +terminal -autoservername -footer -mzscheme +terminfo -balloon_eval +fork() +netbeans_intg +termresponse +balloon_eval_term +gettext +num64 +textobjects -browse -hangul_input +packages +textprop ++builtin_terms +iconv +path_extra +timers +byte_offset +insert_expand +perl +title +channel +ipv6 +persistent_undo -toolbar +cindent +job +popupwin +user_commands -clientserver +jumplist +postscript +vartabs +clipboard +keymap +printer +vertsplit +cmdline_compl +lambda +profile +vim9script +cmdline_hist +langmap -python +viminfo +cmdline_info +libcall +python3 +virtualedit +comments +linebreak +quickfix +visual +conceal +lispindent +reltime +visualextra +cryptv +listcmds +rightleft +vreplace +cscope +localmap +ruby +wildignore +cursorbind +lua +scrollbind +wildmenu +cursorshape +menu +signs +windows +dialog_con +mksession +smartindent +writebackup +diff +modify_fname +sodium -X11 +digraphs +mouse +sound -xfontset -dnd -mouseshape +spell -xim -ebcdic +mouse_dec +startuptime -xpm +emacs_tags -mouse_gpm +statusline -xsmp +eval -mouse_jsbterm -sun_workshop -xterm_clipboard +ex_extra +mouse_netterm +syntax -xterm_save +extra_search +mouse_sgr +tag_binary -farsi -mouse_sysmouse -tag_old_static system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" defaults file: "$VIMRUNTIME/defaults.vim" fall-back for $VIM: "/opt/homebrew/share/vim" Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X -DMACOS_X_DARWIN -g -O2 - I/opt/homebrew/Cellar/libsodium/1.0.18_1/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FO RTIFY_SOURCE=1 Linking: clang -L/usr/local/lib -o vim -lm -lncurses -L/opt/homebrew/Cellar/libsodium /1.0.18_1/lib -lsodium -liconv -lintl -framework AppKit -L/opt/homebrew/opt/lua/lib - llua5.4 -mmacosx-version-min=13.3 -fstack-protector-strong -L/opt/homebrew/opt/perl/l ib/perl5/5.36/darwin-thread-multi-2level/CORE -lperl -L/opt/homebrew/opt/python@3.11/ Frameworks/Python.framework/Versions/3.11/lib/python3.11/config-3.11-darwin -lpython3 .11 -framework CoreFoundation -lruby.3.2 -L/opt/homebrew/Cellar/ruby/3.2.2_1/lib ```Neovim version
``` NVIM v0.10.0-dev-764+g1f252a8ac-Homebrew Build type: Release LuaJIT 2.1.0-beta3 Run ":verbose version" for more info ```Provide a minimal init.vim/vimrc without plugin managers (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
Start()
with customwinWidth
. It must be greater than about 0.6 times the&lines
.i
. The height of the UI will be maximized.Screenshot (if possible)
1.
2.
3.
Upload the log messages by
:redir
and:message
(if errored)Nothing.