Lspsaga does not show all diagnostic messages for a position (line:column, eg 1:29).
When there are multiple diagnostics it only shows one diagnostic (it appears to be non-deterministic which one gets shown)
Expected Behavior
All three diagnostic messages are shown for position 1:29 are shown in the popup:
Actual Behavior
The Lspsaga popup shows only one out of three diagnostics for 1:29:
Details
I initially found this issue with null-ls and Vale, but I suspect it will be reproducible with other LSPs as well.
Steps to reproduce
Copy Vale config
Copy the contents of this folder to your home directory.
These are the sources (only yml and json files) that Vale uses to lint prose.
Create a Markdown file and paste the following line:
_Note: This setup is built for and tested on macOS._
Open that Markdown file in Neovim and :Lspsaga diagnostic_jump_next
Observe that the Lspsaga popup shows only one diagnostic message for position 1:19, while in reality there should be 3.
For reference these are the CLI results of running vale
Environment
- nvim --version output:
NVIM v0.8.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@Ventura-arm64.local
Description
Lspsaga does not show all diagnostic messages for a position (line:column, eg 1:29). When there are multiple diagnostics it only shows one diagnostic (it appears to be non-deterministic which one gets shown)
Expected Behavior All three diagnostic messages are shown for position 1:29 are shown in the popup:
Actual Behavior The Lspsaga popup shows only one out of three diagnostics for 1:29:
Details
I initially found this issue with
null-ls
and Vale, but I suspect it will be reproducible with other LSPs as well.Steps to reproduce
yml
andjson
files) that Vale uses to lint prose._Note: This setup is built for and tested on macOS._
:Lspsaga diagnostic_jump_next
1:19
, while in reality there should be 3. For reference these are the CLI results of running valeEnvironment
- nvim --version output: - Operating system:macOS v13.0.1 (Ventura)
- lspsaga commit:85e1c00f5a6645b0571d475b4b43803377a82bf0