From 81c32343534ea670c6b8a82f8e3d5b1f9195dd13 Mon Sep 17 00:00:00 2001 From: Luca Versari Date: Sat, 29 Nov 2025 20:05:15 +0100 Subject: [PATCH] Do not send an empty diagnostics capability. This appears to confuse some LSPs such as ruff. --- src/client.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index cca1037..5cd8a3b 100644 --- a/src/client.ts +++ b/src/client.ts @@ -61,7 +61,6 @@ const clientCapabilities: lsp.ClientCapabilities = { implementation: {}, typeDefinition: {}, references: {}, - diagnostic: {}, }, window: { showMessage: {}