From 172f23110569e1419b36e826e736a515a6c3e671 Mon Sep 17 00:00:00 2001 From: Remi Thebault Date: Tue, 6 Jun 2023 22:23:13 +0200 Subject: [PATCH] add openClose document sync capabitilty textDocument/didOpen was not sent anymore by VS code since #320 --- source/served/extension.d | 1 + 1 file changed, 1 insertion(+) diff --git a/source/served/extension.d b/source/served/extension.d index d36c536..f3cd0e4 100644 --- a/source/served/extension.d +++ b/source/served/extension.d @@ -264,6 +264,7 @@ InitializeResult initialize(InitializeParams params) includeText: false, }; TextDocumentSyncOptions textDocumentSync = { + openClose: true, change: documents.syncKind, save: save, };