Skip to content

Commit a5a061f

Browse files
datho7561rgrunber
authored andcommitted
Register the paste handler when LS reports ServiceReady
Fixes #2924 Signed-off-by: David Thompson <[email protected]>
1 parent d864ead commit a5a061f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/standardLanguageClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export class StandardLanguageClient {
123123
});
124124
}
125125

126+
registerPasteEventHandler(context, this.languageClient);
126127
activationProgressNotification.hide();
127128
if (!hasImported) {
128129
showImportFinishNotification(context);
@@ -595,7 +596,6 @@ export class StandardLanguageClient {
595596
context.subscriptions.push(languages.registerInlayHintsProvider(JAVA_SELECTOR, new JavaInlayHintsProvider(this.languageClient)));
596597
}
597598

598-
registerPasteEventHandler(context, this.languageClient);
599599
});
600600
}
601601

0 commit comments

Comments
 (0)