Move pickServer() into the try-catch in runLsp() so UnsupportedExtensionError is caught directly. Add message-based fallback in both runLsp() and runDiagnostics() to handle daemon-wrapped errors that come through as plain Error instances rather than the original typed exception. This eliminates spurious 'No LSP server registered' warnings during auto-check after edit/write on files without LSP support (e.g. .md, .txt, .sh).
24 KiB
24 KiB