Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit a498576

Browse files
committed
Disable C and C++ for sourcekit-lsp
1 parent e61d5e1 commit a498576

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
## 2.11.1
6+
7+
- [Disable C and C++ for sourcekit-lsp](https://forums.swift.org/t/disable-sourcekit-lsp-for-c-files/30717/3)
8+
59
## 2.11.0
610

711
- Allow lang server restart #82 #85 by @clayreimann

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "https://github.com/vknabel"
99
},
1010
"license": "Apache-2.0",
11-
"version": "2.11.0",
11+
"version": "2.11.1",
1212
"publisher": "vknabel",
1313
"icon": "icons/icon.png",
1414
"galleryBanner": {

src/vscode/lsp-interop.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function currentClientOptions(): Partial<LanguageClientOptions> {
1919
switch (config.lsp()) {
2020
case LangaugeServerMode.SourceKit:
2121
return {
22-
documentSelector: ["swift", "cpp", "c", "objective-c", "objective-cpp"],
22+
documentSelector: ["swift", "objective-c", "objective-cpp"],
2323
synchronize: undefined,
2424
};
2525
case LangaugeServerMode.SourceKite:

0 commit comments

Comments
 (0)