mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 05:51:06 +00:00
refactor(keymaps): remove hardcoded diagnostic jump float option
This commit is contained in:
parent
cdc47ae615
commit
1d9ed82fef
2 changed files with 3 additions and 1 deletions
|
|
@ -124,7 +124,6 @@ local diagnostic_goto = function(next, severity)
|
||||||
vim.diagnostic.jump({
|
vim.diagnostic.jump({
|
||||||
count = (next and 1 or -1) * vim.v.count1,
|
count = (next and 1 or -1) * vim.v.count1,
|
||||||
severity = severity and vim.diagnostic.severity[severity] or nil,
|
severity = severity and vim.diagnostic.severity[severity] or nil,
|
||||||
float = true,
|
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,9 @@ return {
|
||||||
[vim.diagnostic.severity.INFO] = LazyVim.config.icons.diagnostics.Info,
|
[vim.diagnostic.severity.INFO] = LazyVim.config.icons.diagnostics.Info,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
jump = {
|
||||||
|
float = true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
-- Enable this to enable the builtin LSP inlay hints on Neovim.
|
-- 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
|
-- Be aware that you also will need to properly configure your LSP server to
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue