Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: fail to jump to next LSP warning #109

Closed
3 tasks done
XXiaoA opened this issue Jan 23, 2023 · 1 comment · Fixed by #107
Closed
3 tasks done

bug: fail to jump to next LSP warning #109

XXiaoA opened this issue Jan 23, 2023 · 1 comment · Fixed by #107
Labels
bug Something isn't working

Comments

@XXiaoA
Copy link

XXiaoA commented Jan 23, 2023

Did you check docs and existing issues?

  • I have read all the LazyVim docs
  • I have searched the existing issues of LazyVim
  • I have searched the exsiting issues of plugins related to this issue

Neovim version (nvim -v)

v0.9.0-dev-771+g18fb669b9b

Operating system/version

Arch linux

Describe the bug

We have a default keymap to jump to next LSP warning

{ "]w", M.diagnostic_goto(true, "WARNING"), desc = "Next Warning" },

But according to my test, we will jump to every diagnostic using this keymap including info, warning , error etc.

Steps To Reproduce

open nvim with LSP, then press ]w

Expected Behavior

Only jump to next warning, like ]e only jump to next error

Repro

default configuration
@XXiaoA XXiaoA added the bug Something isn't working label Jan 23, 2023
@folke folke closed this as completed in 7595bfa Jan 23, 2023
@folke
Copy link
Collaborator

folke commented Jan 23, 2023

Fixed! Had to be WARN instead of WARNING

ofrades pushed a commit to ofrades/LazyVim that referenced this issue May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants