You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the help window is hard-coded to open at the bottom of the screen, which can overlap with the fzf window when using split layout:
Before opening help:
After opening help:
If putting at top with border = "single":
Could we expose an option help_winopts that accepts a table as the parameter passed to vim.api.nvim_open_win() so user can customize the border and position of the help window? I am glad to submit a PR for it.
The text was updated successfully, but these errors were encountered:
Could we expose an option help_winopts that accepts a table as the parameter passed to vim.api.nvim_open_win() so user can customize the border and position of the help window? I am glad to submit a PR for it.
Im thinking maybe it’s better to supply a help_open_win opt, the option will be a function responsible for opening a new window, you can then set whatever options you want in nvim_open_win or even open in a top split using vim.cmd(…)?
This would also simplify the config (one single opt) as I don’t foresee too many users customizing the help window.
Im thinking maybe it’s better to supply a help_open_win opt, the option will be a function responsible for opening a new window, you can then set whatever options you want in nvim_open_win or even open in a top split using vim.cmd(…)?
Note that I moved your changes from fzf-lua-opts.txtto OPTIONS.md as that's the original source of the options, the file is then auto-generated with ts-vimdoc.nvim.
Have you RTFM'd?
Feature Request
Currently, the help window is hard-coded to open at the bottom of the screen, which can overlap with the fzf window when using split layout:
Before opening help:
After opening help:
If putting at top with
border = "single"
:Could we expose an option
help_winopts
that accepts a table as the parameter passed tovim.api.nvim_open_win()
so user can customize the border and position of the help window? I am glad to submit a PR for it.The text was updated successfully, but these errors were encountered: