1
0

Add go to next error keys

This commit is contained in:
Scott Carroll
2025-04-01 16:08:04 +01:00
parent bf64ae3cb3
commit e40a88338f

View File

@@ -88,3 +88,5 @@ vim.diagnostic.config({
-- Enable all errors for the current line only -- Enable all errors for the current line only
vim.diagnostic.config({ virtual_lines = { only_current_line = true } }) vim.diagnostic.config({ virtual_lines = { only_current_line = true } })
vim.keymap.set("n", "]g", vim.diagnostic.goto_next)
vim.keymap.set("n", "[g", vim.diagnostic.goto_prev)