nvimdev / lspsaga.nvim

improve neovim lsp experience
MIT License
3.37k stars 285 forks source link

severity filter does not working on `require("lspsaga.diagnostic").goto_{prev,next}` func #1444

Closed izumin5210 closed 1 month ago

izumin5210 commented 1 month ago

Describe the bug

severity filter does not working on require("lspsaga.diagnostic").goto_{prev,next} func

Steps to reproduce

  1. Open a file with at least one error and one warn each
  2. execute :lua require('lspsaga.diagnostic'):goto_next({ severity = vim.diagnostic.severity.ERROR }) several times
  3. jump to all errors and warns in sequence

Expected behavior

Only jump to errors

Neovim version (nvim -v)

0.10.0

lspsaga commit

6302f83c48833332812c977b4c210d40ddeae584

Terminal name/version

alacritty 0.13.1 (macOS 14.4)