neovim: resolve some of the warnings

This commit is contained in:
2026-03-13 22:21:07 +03:00
parent b652527ac6
commit 49cdb91190
4 changed files with 6 additions and 6 deletions

View File

@@ -68,8 +68,8 @@ vim.keymap.set("n", "<leader>ee", function()
vim.diagnostic.open_float(nil, { focus = false, scope = "line" })
end)
vim.keymap.set("n", "<leader>en", function()
vim.diagnostic.goto_next({ float = false })
vim.diagnostic.jump({ count = 1 })
end)
vim.keymap.set("n", "<leader>eN", function()
vim.diagnostic.goto_prev({ float = false })
vim.diagnostic.jump({ count = -1 })
end)