Skip to content

Commit 2cf239d

Browse files
committed
fixes microsoft#4881: [cpp] Switching to Atom's language-c for C/C++ syntax highlighting
1 parent 37f5e2b commit 2cf239d

13 files changed

Lines changed: 1475 additions & 2013 deletions

File tree

extensions/cpp/OSSREADME.json

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,8 @@
11
// ATTENTION - THIS DIRECTORY CONTAINS THIRD PARTY OPEN SOURCE MATERIALS:
22
[{
3-
"name": "textmate/c.tmbundle",
4-
"version": "0.0.0",
5-
"license": "TextMate Bundle License",
6-
"repositoryURL": "https://github.com/textmate/c.tmbundle",
7-
"licenseDetail": [
8-
"Copyright (c) textmate-c.tmbundle authors",
9-
"",
10-
"If not otherwise specified (see below), files in this repository fall under the following license:",
11-
"",
12-
"Permission to copy, use, modify, sell and distribute this",
13-
"software is granted. This software is provided \"as is\" without",
14-
"express or implied warranty, and with no claim as to its",
15-
"suitability for any purpose.",
16-
"",
17-
"An exception is made for files in readable text which contain their own license information,",
18-
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added",
19-
"to the base-name name of the original file, and an extension of txt, html, or similar. For example",
20-
"\"tidy\" is accompanied by \"tidy-license.txt\"."
21-
]
3+
"name": "language-c",
4+
"version": "0.51.3",
5+
"license": "MIT",
6+
"repositoryURL": "https://github.com/atom/language-c",
7+
"description": "The files syntaxes/c.json and syntaxes/c++.json were derived from the Atom package https://atom.io/packages/language-c which was originally converted from the C TextMate bundle https://github.com/textmate/c.tmbundle."
228
}]

extensions/cpp/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
"grammars": [{
2020
"language": "c",
2121
"scopeName": "source.c",
22-
"path": "./syntaxes/c.plist"
22+
"path": "./syntaxes/c.json"
2323
},
2424
{
2525
"language": "cpp",
26-
"scopeName": "source.c++",
27-
"path": "./syntaxes/c++.plist"
26+
"scopeName": "source.cpp",
27+
"path": "./syntaxes/c++.json"
2828
},
2929
{
3030
"scopeName": "source.c.platform",

0 commit comments

Comments
 (0)