vim.diagnostic.goto navigated both WARN and ERROR. How to navigate only to Error ?. tks a lot
1 Like
Pass severity
key
vim.diagnostic.goto_next({
severity = vim.diagnostic.severity.ERROR,
-- ... the rest of your options
})
See :h diagnostic-severity
for severity values
1 Like
work like charm, tks