Replies: 1 comment 1 reply
-
I think there might be some confusion - Workspace diagnostics need to be supported at the language server level, and |
Beta Was this translation helpful? Give feedback.
-
I think there might be some confusion - Workspace diagnostics need to be supported at the language server level, and |
Beta Was this translation helpful? Give feedback.
-
Hi, and sorry for the possibly wrong repo for this question, iwas unsure if this is ts-utils or null-ls related.
I am currently trying to set up my nvim lsp for typescript and while everything works well in one buffer (completion, formatting, diagnostics etc. (even though i am not sure if I should use both tsserver+nvim-lsp-ts-utils and null_ls)), I cannot get workspace wide diagnostics to work.
It seems like this has something to do with tsserver only attaching to open buffers, and not respecting eslint_d's workspace diagnostic.
My lsp config configures the tsserver first and then null-ls, i've experimented with the available options but to no success. My current config can be seen here: https://github.com/thraizz/dotfiles-nvim/blob/master/lua/lsp.lua
What do I need to change to get workspace diagnostics available?
Thank you for your great work!
Beta Was this translation helpful? Give feedback.
All reactions