From 3bfae4456a3870e08fb11b0bd95dfe0794567971 Mon Sep 17 00:00:00 2001 From: gabydd Date: Sat, 16 Dec 2023 02:04:40 -0500 Subject: [PATCH] when text document sync is just a sync kind send didSave without text see https://github.com/microsoft/language-server-protocol/issues/288 for details --- helix-lsp/src/client.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs index e6e1f8a033010..75dabe4f2adfe 100644 --- a/helix-lsp/src/client.rs +++ b/helix-lsp/src/client.rs @@ -981,6 +981,8 @@ impl Client { // Supported(false) _ => return None, }, + // see: https://github.com/microsoft/language-server-protocol/issues/288 + Some(lsp::TextDocumentSyncCapability::Kind(..)) => false, // unsupported _ => return None, };