jump prev/next diagnostic update
This commit is contained in:
parent
7f4ccaa10e
commit
7eccfacf88
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Reference in New Issue