refactor(keymaps): remove hardcoded diagnostic jump float option

This commit is contained in:
nowaylifer 2026-04-23 21:11:48 +03:00
parent cdc47ae615
commit 1d9ed82fef
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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