From 68eb18c3102d4eb1b6450857a1aa077a2e9b401a Mon Sep 17 00:00:00 2001 From: ray-x Date: Thu, 30 Jun 2022 01:39:06 +1000 Subject: [PATCH] offset for definition preview --- lua/navigator/definition.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/navigator/definition.lua b/lua/navigator/definition.lua index fd46869..b3b114e 100644 --- a/lua/navigator/definition.lua +++ b/lua/navigator/definition.lua @@ -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',