aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/extension.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/extension.ts')
-rw-r--r--editors/code/src/extension.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/code/src/extension.ts b/editors/code/src/extension.ts
index a0be70202..8b332eeb2 100644
--- a/editors/code/src/extension.ts
+++ b/editors/code/src/extension.ts
@@ -82,7 +82,9 @@ export function activate(context: vscode.ExtensionContext) {
82 } 82 }
83 ); 83 );
84 84
85 overrideCommand('type', commands.onEnter.handle); 85 if (Server.config.enableEnhancedTyping) {
86 overrideCommand('type', commands.onEnter.handle);
87 }
86 88
87 // Notifications are events triggered by the language server 89 // Notifications are events triggered by the language server
88 const allNotifications: Iterable< 90 const allNotifications: Iterable<