Skip to content

Commit 450406d

Browse files
committed
Set peekDocuments in initializationOptions to let sourcekit-lsp make PeekMacroRequest
1 parent 053f286 commit 450406d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sourcekit-lsp/LanguageClientManager.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,9 @@ export class LanguageClientManager {
560560
})(),
561561
},
562562
errorHandler: new SourceKitLSPErrorHandler(5),
563+
initializationOptions: {
564+
peekDocuments: true,
565+
},
563566
};
564567

565568
return new langclient.LanguageClient(

0 commit comments

Comments
 (0)