offset for definition preview

neovim_0.6^2
ray-x 2 years ago
parent 8d77c3ab1e
commit 68eb18c310

@ -121,7 +121,7 @@ local function def_preview(timeout_ms)
relative = 'cursor',
style = 'minimal',
ft = filetype,
rect = { width = width, height = #definition + 3 },
rect = { width = width, height = #definition + 3, pos_y = 2 },
data = definition,
enter = true,
border = _NgConfigValues.border or 'shadow',

Loading…
Cancel
Save