From 1d9ed82fefdd6208553ed49df2a3153a1b4041de Mon Sep 17 00:00:00 2001 From: nowaylifer Date: Thu, 23 Apr 2026 21:11:48 +0300 Subject: [PATCH] refactor(keymaps): remove hardcoded diagnostic jump float option --- lua/lazyvim/config/keymaps.lua | 1 - lua/lazyvim/plugins/lsp/init.lua | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/lazyvim/config/keymaps.lua b/lua/lazyvim/config/keymaps.lua index 9651e4e6..be05bc0c 100644 --- a/lua/lazyvim/config/keymaps.lua +++ b/lua/lazyvim/config/keymaps.lua @@ -124,7 +124,6 @@ local diagnostic_goto = function(next, severity) vim.diagnostic.jump({ count = (next and 1 or -1) * vim.v.count1, severity = severity and vim.diagnostic.severity[severity] or nil, - float = true, }) end end diff --git a/lua/lazyvim/plugins/lsp/init.lua b/lua/lazyvim/plugins/lsp/init.lua index 490bec3c..9549b8c7 100644 --- a/lua/lazyvim/plugins/lsp/init.lua +++ b/lua/lazyvim/plugins/lsp/init.lua @@ -32,6 +32,9 @@ return { [vim.diagnostic.severity.INFO] = LazyVim.config.icons.diagnostics.Info, }, }, + jump = { + float = true, + }, }, -- Enable this to enable the builtin LSP inlay hints on Neovim. -- Be aware that you also will need to properly configure your LSP server to