Skip to content

Commit 9e208a2

Browse files
committed
Introduce syntaxServerExitsOnShutdown as an extended capability.
- Fixes #1928 - In languageclient 7.x, the client fails to send the necessary exit() once a shutdown() response is received from the language server - When client defines syntaxServerExitsOnShutdown as true, the language server will exit immediately after the shutdown request Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
1 parent 5e481ee commit 9e208a2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/extension.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ export function activate(context: ExtensionContext): Promise<ExtensionAPI> {
185185
gradleChecksumWrapperPromptSupport: true,
186186
resolveAdditionalTextEditsSupport: true,
187187
advancedIntroduceParameterRefactoringSupport: true,
188-
actionableRuntimeNotificationSupport: true
188+
actionableRuntimeNotificationSupport: true,
189+
syntaxServerExitsOnShutdown: true
189190
},
190191
triggerFiles,
191192
},

0 commit comments

Comments
 (0)