From 5622fbe17c99f3e3b43daf543c56b1a388bae470 Mon Sep 17 00:00:00 2001 From: Alexey Radkov Date: Sat, 8 Mar 2025 21:14:55 +0400 Subject: [PATCH] Jump from the reference window to the start of the entry It used to jump to the next symbol on the right of the correct column --- lua/lsputil/actions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lsputil/actions.lua b/lua/lsputil/actions.lua index a9f7f83..2e4d5ed 100644 --- a/lua/lsputil/actions.lua +++ b/lua/lsputil/actions.lua @@ -17,7 +17,7 @@ function M.close_selected_handler(index, command) start = { line = item.lnum - 1, --TODO: robust character column - character = item.col + character = item.col - 1 } } }