For the VS-diagnostic endpoint (not sure about the regular LSP diagnostic endpoint), we can declare different diagnostic kinds, e.g. syntactic and semantic, and handle them separately. This way syntactic errors will appear much more quickly, while the semantic diagnostics are still being collected.
For the VS-diagnostic endpoint (not sure about the regular LSP diagnostic endpoint), we can declare different diagnostic kinds, e.g. syntactic and semantic, and handle them separately. This way syntactic errors will appear much more quickly, while the semantic diagnostics are still being collected.