-
Notifications
You must be signed in to change notification settings - Fork 177
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
Workspace diagnostics only includes open buffers #26
Comments
A couple of days ago, I apparently switched up the "document" with "workspace" diagnostics, so This should now be fixed. Sorry about that |
Thanks, it's working now. |
I'm running into this same issue. I also have vim.lsp.handlers["textDocument/publishDiagnostics"] =
vim.lsp.with(
require("lsp_extensions.workspace.diagnostic").handler,
{
underline = false,
signs = true,
}
) Calling Any advice would be greatly appreciated! Thank you! |
can we reopen this? I am getting the same behavior as well. It is only showing diagnostics from files open in buffers and not the workspace. or perhaps I am misunderstanding how workspace works? any help will be appreciated. Thanks! |
@rphuber which language server? With Pyright, which I use most, workspace diagnostics are working. Perhaps it's simply not supported by your LS. |
This plugin does workspace diagnostics https://github.com/artemave/workspace-diagnostics.nvim |
I can't figure out how to get all workspace diagnostics to show up.
I have lsp_extensions.nvim installed and overridden the
publishDiagnostics
handler in my config like so:When I run
the quickfix list contains all diagnostics of files in the workspace. However when I run
it
is empty. update: I actually just figured out it only shows diagnostics of currently open buffers.How can I configure Trouble to pick up all workspace diagnostics?
The text was updated successfully, but these errors were encountered: