helix
helix copied to clipboard
Make the diagnostic picker aware of which LSP produced each diagnostic?
It is common to have several LSPs enabled for a single language. Given that, would it be possible / useful to make the diagnostic picker aware of which LSP produced each diagnostic, and maybe make it possible to toggle / search etc diagnostics based on LSP?
Now when the picker can have multiple columns, this could potentially be one!
It's however not a use case I've felt. Is this something you've experienced the need for?
My feeling is that it would be nice to look at the messages from only a specific lsp by filtering by its name, for example when looking at a file that does not follow "good" spellchecking and has many typos, I may want to only look at e.g. pylsp messages if this is a python file, to focus on programming aspects rather than typos :) . I say this as I have added cspell to my list of lsps :) .
This issue is a duplicate of https://github.com/helix-editor/helix/issues/11452
Also.. I very much agree this is necessary when programming Python. Currently I'm running pyright, the ruff lsp and ty. It would be a big help to know which LSP generates the diagnostic.