Skip to content

Commit 18779e7

Browse files
committed
Fix missing on autoinsert registration
1 parent c7ae769 commit 18779e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lsptoolshost/roslynLanguageServer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ import { DotnetInfo } from '../shared/utils/dotnetInfo';
4848
import { RoslynLanguageServerEvents } from './languageServerEvents';
4949
import { registerShowToastNotification } from './showToastNotification';
5050
import { registerRazorCommands } from './razorCommands';
51+
import { registerOnAutoInsert } from './onAutoInsert';
5152

5253
let _channel: vscode.OutputChannel;
5354
let _traceChannel: vscode.OutputChannel;
@@ -752,6 +753,8 @@ export async function activateRoslynLanguageServer(
752753
// Register any needed debugger components that need to communicate with the language server.
753754
registerDebugger(context, languageServer, languageServerEvents, platformInfo, optionProvider, _channel);
754755

756+
registerOnAutoInsert(optionProvider, languageServer);
757+
755758
context.subscriptions.push(registerLanguageServerOptionChanges(optionObservable));
756759

757760
return languageServer;

0 commit comments

Comments
 (0)