Get nvim diagnostics on workspace open
When I open VSCode to a specific folder / workspace, I’m automatically greeted with problems if they exist. I’m able to get similar workspace diagnostics in Neovim (with trouble.nvim and nvim-lspconfig), but it only happens once I open a specific buffer with a given filetype (in this case .dart
). I would love to set a cwd and have the LSP autorun on project selection. Is this possible in Neovim or am I barking up the wrong tree?