fix(nvim): guarantee abook pane is at least 20 lines tall
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>main
parent
c2514b6fb5
commit
211763d2c8
|
|
@ -250,7 +250,7 @@ local function toggle_pim()
|
|||
local W = vim.o.columns
|
||||
local right_w = math.max(80, math.floor(W * 0.45))
|
||||
local left_w = math.max(1, W - right_w)
|
||||
local top_h = math.max(1, math.floor(H / 2))
|
||||
local top_h = math.max(20, math.floor(H / 2))
|
||||
local bot_h = math.max(1, H - top_h)
|
||||
|
||||
local w1 = _pim_float(0, 0, H, left_w)
|
||||
|
|
|
|||
Loading…
Reference in New Issue