jump prev/next diagnostic update

This commit is contained in:
Thomas Avé 2026-05-07 20:22:21 +07:00
parent 7f4ccaa10e
commit 7eccfacf88
Signed by: thomasave
SSH Key Fingerprint: SHA256:bvIbWy6TO9+PdMTPzWy6dqkRlVQ3eSky+vQcc9aRIiE
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ end
return {
{
'saghen/blink.compat',
version = '*',
branch = 'v1',
lazy = true,
opts = {},
},
@ -22,8 +22,8 @@ return {
},
build = 'nix run --extra-experimental-features flakes --extra-experimental-features nix-command .#build-plugin',
keys = {
{ "<leader>n", vim.diagnostic.goto_next },
{ "<leader>p", vim.diagnostic.goto_prev },
{ "<leader>n", function() vim.diagnostic.jump({ count = 1 }) end },
{ "<leader>p", function() vim.diagnostic.jump({ count = -1 }) end },
{ "<leader>f", vim.lsp.buf.code_action },
{ "gd", vim.lsp.buf.definition },
{ "gi", vim.lsp.buf.implementation },