File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Sources/SourceKitLSP/Swift Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,9 @@ extension SwiftLanguageServer {
345
345
keys. request: self . requests. editorOpen,
346
346
keys. name: note. textDocument. uri. pseudoPath,
347
347
keys. sourceText: snapshot. text,
348
+ keys. enableSyntaxMap: 0 ,
349
+ keys. enableStructure: 0 ,
350
+ keys. enableDiagnostics: 0 ,
348
351
keys. syntacticOnly: 1 ,
349
352
keys. compilerArgs: await self . buildSettings ( for: snapshot. uri) ? . compilerArgs as [ SKDRequestValue ] ? ,
350
353
] )
@@ -477,6 +480,9 @@ extension SwiftLanguageServer {
477
480
let req = sourcekitd. dictionary ( [
478
481
keys. request: self . requests. editorReplaceText,
479
482
keys. name: note. textDocument. uri. pseudoPath,
483
+ keys. enableSyntaxMap: 0 ,
484
+ keys. enableStructure: 0 ,
485
+ keys. enableDiagnostics: 0 ,
480
486
keys. syntacticOnly: 1 ,
481
487
keys. offset: edit. offset,
482
488
keys. length: edit. length,
You can’t perform that action at this time.
0 commit comments