Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Adding language, extensions and comments supports
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMalbran committed Feb 27, 2013
1 parent fee1311 commit e0b47b2
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions src/language/languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"javascript": {
"name": "JavaScript",
"mode": "javascript",
"fileExtensions": ["js"],
"fileExtensions": ["js", "jsx"],
"blockComment": ["/*", "*/"],
"lineComment": "//"
},
Expand All @@ -46,15 +46,24 @@
"cpp": {
"name": "C++",
"mode": ["clike", "text/x-c++src"],
"fileExtensions": ["cc", "cp", "cpp", "c++", "cxx", "hh", "hpp", "hxx", "h++", "ii", "c", "h", "i"]
"fileExtensions": ["cc", "cp", "cpp", "c++", "cxx", "hh", "hpp", "hxx", "h++", "ii", "c", "h", "i"],
"blockComment": ["/*", "*/"],
"lineComment": "//"
},

"csharp": {
"name": "C#",
"mode": ["clike", "text/x-csharp"],
"fileExtensions": ["cs"]
},


"clike": {
"name": "C",
"mode": "clike",
"blockComment": ["/*", "*/"],
"lineComment": "//"
},

"java": {
"name": "Java",
"mode": ["clike", "text/x-java"],
Expand Down Expand Up @@ -125,5 +134,11 @@
"name": "YAML",
"mode": "yaml",
"fileExtensions": ["yaml", "yml"]
},

"hx": {
"name": "Haxe",
"mode": "haxe",
"fileExtensions": ["hx"]
}
}

0 comments on commit e0b47b2

Please sign in to comment.