Add go to next error keys
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user