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