Skip to content

Commit 491e85e

Browse files
authored
Merge pull request #27 from CodinGame/add-objective-c
Add objective-c language client
2 parents 41498bd + deee6c7 commit 491e85e

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/staticOptions.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const staticOptions = asLanguageClientOptionsById({
3030
{ scheme: 'file', language: 'cpp' }
3131
],
3232
mutualizable: false
33-
// The extension is cpptools BUT the language server is unable to use the configuration
33+
// The extension is cpptools BUT the language server is unable to use the client configuration (it requires client code)
3434
// vscodeExtensionIds: ['cpptools']
3535
},
3636
csharp: {
@@ -47,7 +47,7 @@ const staticOptions = asLanguageClientOptionsById({
4747
{ scheme: 'file', language: 'cuda-cpp' }
4848
],
4949
mutualizable: false
50-
// The extension is cpptools BUT the language server is unable to use the configuration
50+
// The extension is cpptools BUT the language server is unable to use the client configuration (it requires client code)
5151
// vscodeExtensionIds: ['cpptools']
5252
},
5353
clojure: {
@@ -166,6 +166,16 @@ const staticOptions = asLanguageClientOptionsById({
166166
}],
167167
mutualizable: false
168168
},
169+
'objective-c': {
170+
documentSelector: [
171+
{ scheme: 'file', language: 'c' },
172+
{ scheme: 'file', language: 'cpp' },
173+
{ scheme: 'file', language: 'objective-c' }
174+
],
175+
mutualizable: false
176+
// The extension is cpptools BUT the language server is unable to use the client configuration (it requires client code)
177+
// vscodeExtensionIds: ['cpptools']
178+
},
169179
'php-serenata': {
170180
// https://gitlab.com/Serenata/visual-studio-code-client/-/blob/master/src/extension.ts#L120
171181
documentSelector: [

0 commit comments

Comments
 (0)