summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2026-03-21 15:20:06 +0100
committerGitHub <noreply@github.com>2026-03-21 10:20:06 -0400
commitfbac2e5edc8ba86b1047d5161f32faa57a4396e2 (patch)
tree303870c83ea7c8b1621061412554e7a94ca2d853 /runtime/lua/vim/provider/python.lua
parent7a5e9ef0aab84bbd69594ceec231db1fb11171f9 (diff)
feat(ui2): configure maximum window heights #38392
Problem: - Window height is set dynamically to match the text height, making it difficult for the user to use a different height. - Cmdwin is closed to enter the pager but still taken into account for the pager position, and not restored when the pager is closed. - Dialog pager handler may unnecessarily consume <Esc>. Solution: - Add maximum height config fields for each of the UI2 windows, where a number smaller than one is a fraction of 'lines', absolute height otherwise (i.e. `cfg.msg.pager.height = 0.5`). - If the cmdwin will be closed to enter the pager, don't try to position the pager above it. Re-enter the cmdwin when the pager is closed. - Only add vim.on_key() handler for the dialog paging is actually possible.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions