feat(nvim): modernize jump config

This commit is contained in:
Barrett Ruth 2026-02-26 15:02:43 -05:00
parent 90cf2532dd
commit 014277b247
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
2 changed files with 9 additions and 2 deletions

View file

@ -9,7 +9,11 @@ vim.diagnostic.config({
header = '',
prefix = ' ',
},
jump = { float = true },
jump = {
on_jump = function(_, bufnr)
vim.diagnostic.open_float({ bufnr = bufnr, scope = 'cursor' })
end,
},
})
vim.lsp.config('*', {