From 8ee4839ad887a400b8fd2c12542fdbddd0b5988a Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Mon, 6 Oct 2025 14:10:53 -0500 Subject: [PATCH] remove weird --- lua/keymaps.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lua/keymaps.lua b/lua/keymaps.lua index d83c8d2..f50b3e0 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -89,12 +89,16 @@ U.keymaps({ { "J", "mzJ`z", desc = "Move line below onto this line" }, { "]d", - vim.diagnostic.goto_next, + function() + vim.diagnostic.jump({ count = 1, float = true }) + end, desc = "Go to next diagnostic message", }, { "[d", - vim.diagnostic.goto_prev, + function() + vim.diagnostic.jump({ count = -1, float = true }) + end, desc = "Go to previous diagnostic message", }, { ">", "> gv", desc = "Indent selection", mode = "v" },