add abap mode
This commit is contained in:
parent
c44565ff3a
commit
4a095c2b7e
4 changed files with 213 additions and 1 deletions
|
|
@ -104,6 +104,7 @@ var docs = {
|
|||
"docs/powershell.ps1": "Powershell",
|
||||
"docs/python.py": "Python",
|
||||
"docs/ruby.rb": "Ruby",
|
||||
"docs/abap.abap": "SAP - ABAP",
|
||||
"docs/scala.scala": "Scala",
|
||||
"docs/scss.scss": "SCSS",
|
||||
"docs/sh.sh": "SH",
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ var Mode = function(name, desc, extensions) {
|
|||
var re = "^.*\\.(" + extensions + ")$";
|
||||
}
|
||||
|
||||
this.extRe = new RegExp(re, "g");
|
||||
this.extRe = new RegExp(re, "gi");
|
||||
};
|
||||
|
||||
Mode.prototype.supportsFile = function(filename) {
|
||||
|
|
@ -35,6 +35,7 @@ Mode.prototype.supportsFile = function(filename) {
|
|||
};
|
||||
|
||||
var modesByName = {
|
||||
abap: ["ABAP" , "abap"],
|
||||
asciidoc: ["AsciiDoc" , "asciidoc"],
|
||||
c9search: ["C9Search" , "c9search_results"],
|
||||
coffee: ["CoffeeScript" , "^Cakefile|coffee|cf"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue