offset for definition preview

pull/200/head
ray-x 2 years ago
parent 8d77c3ab1e
commit 68eb18c310

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

Loading…
Cancel
Save