Permalink
Find file
322 lines (279 sloc) 8.16 KB
{
"unknown": {
"name": "Text",
"mode": ["null", "text/plain"]
},
"groovy": {
"name": "Groovy",
"mode": "groovy",
"fileExtensions": ["groovy", "gradle"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
},
"properties": {
"name": "Properties",
"mode": ["properties", "text/x-properties"],
"fileExtensions": ["ini", "properties"]
},
"css": {
"name": "CSS",
"mode": "css",
"fileExtensions": ["css", "css.erb"],
"blockComment": ["/*", "*/"]
},
"scss": {
"name": "SCSS",
"mode": ["css", "text/x-scss"],
"fileExtensions": ["scss", "scss.erb"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
},
"stylus": {
"name": "Stylus",
"mode": ["stylus", "text/x-styl"],
"fileExtensions": ["styl"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
},
"html": {
"name": "HTML",
"mode": ["htmlmixed", "text/x-brackets-html"],
"fileExtensions": ["html", "htm", "shtm", "shtml", "xhtml", "cfm", "cfml", "cfc", "dhtml", "xht", "tpl", "twig", "kit", "jsp", "aspx", "ascx", "asp", "master", "cshtml", "vbhtml"],
"blockComment": ["<!--", "-->"]
},
"ejs": {
"name": "EJS",
"mode": ["htmlembedded", "application/x-ejs"],
"fileExtensions": ["ejs", "dust"],
"blockComment": ["<!--", "-->"]
},
"erb_html": {
"name": "Embedded Ruby",
"mode": ["htmlembedded", "application/x-erb"],
"fileExtensions": ["erb", "html.erb", "htm.erb"],
"blockComment": ["<!--", "-->"]
},
"javascript": {
"name": "JavaScript",
"mode": "javascript",
"fileExtensions": ["js", "js.erb", "jsm", "_js"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
},
"jsx": {
"name": "JSX",
"mode": "jsx",
"fileExtensions": ["jsx"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
},
"dart": {
"name": "Dart",
"mode": ["dart", "application/dart"],
"fileExtensions": ["dart"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
},
"vbscript": {
"name": "VBScript",
"mode": "vbscript",
"fileExtensions": ["vbs"],
"lineComment": ["'", "REM"]
},
"vb": {
"name": "VB",
"mode": ["vb", "text/x-vb"],
"fileExtensions": ["vb"],
"lineComment": ["'"]
},
"json": {
"name": "JSON",
"mode": ["javascript", "application/json"],
"fileExtensions": ["json"],
"fileNames": [".jshintrc", ".bowerrc"]
},
"xml": {
"name": "XML",
"mode": "xml",
"fileExtensions": ["xml", "wxs", "wxl", "wsdl", "rss", "atom", "rdf", "xslt", "xsl", "xul", "xsd", "xbl", "mathml", "config", "plist", "xaml"],
"blockComment": ["<!--", "-->"]
},
"svg": {
"name": "SVG",
"mode": ["xml", "image/svg+xml"],
"fileExtensions": ["svg"],
"blockComment": ["<!--", "-->"]
},
"php": {
"name": "PHP",
"mode": "php",
"fileExtensions": ["php", "php3", "php4", "php5", "phtm", "phtml", "ctp"],
"blockComment": ["/*", "*/"],
"lineComment": ["//", "#"]
},
"c": {
"name": "C",
"mode": ["clike", "text/x-csrc"],
"fileExtensions": ["c", "h", "i"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
},
"cpp": {
"name": "C++",
"mode": ["clike", "text/x-c++src"],
"fileExtensions": ["cc", "cp", "cpp", "c++", "cxx", "hh", "hpp", "hxx", "h++", "ii", "ino"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
},
"csharp": {
"name": "C#",
"mode": ["clike", "text/x-csharp"],
"fileExtensions": ["cs", "asax", "ashx"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
},
"java": {
"name": "Java",
"mode": ["clike", "text/x-java"],
"fileExtensions": ["java"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
},
"scala": {
"name": "Scala",
"mode": ["clike", "text/x-scala"],
"fileExtensions": ["scala", "sbt"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
},
"coffeescript": {
"name": "CoffeeScript",
"mode": "coffeescript",
"fileExtensions": ["coffee", "cf", "cson", "_coffee"],
"fileNames": ["Cakefile"],
"blockComment": ["###", "###"],
"lineComment": ["#"]
},
"clojure": {
"name": "Clojure",
"mode": "clojure",
"fileExtensions": ["clj", "cljs", "cljx"],
"lineComment": [";", ";;"]
},
"perl": {
"name": "Perl",
"mode": "perl",
"fileExtensions": ["pl", "pm", "t"],
"lineComment": ["#"]
},
"ruby": {
"name": "Ruby",
"mode": "ruby",
"fileExtensions": ["rb", "ru", "gemspec", "rake"],
"fileNames": ["Gemfile", "Rakefile", "Guardfile", "Vagrantfile"],
"lineComment": ["#"]
},
"python": {
"name": "Python",
"mode": "python",
"fileExtensions": ["py", "pyw", "wsgi", "gyp", "gypi"],
"lineComment": ["#"]
},
"sass": {
"name": "SASS",
"mode": "sass",
"fileExtensions": ["sass"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
},
"lua": {
"name": "Lua",
"mode": "lua",
"fileExtensions": ["lua"],
"blockComment": ["--[[", "]]"],
"lineComment": ["--"]
},
"sql": {
"name": "SQL",
"mode": ["sql", "text/x-mysql"],
"fileExtensions": ["sql"]
},
"diff": {
"name": "Diff",
"mode": "diff",
"fileExtensions": ["diff", "patch"]
},
"markdown": {
"name": "Markdown",
"mode": "markdown",
"fileExtensions": ["md", "markdown", "mdown", "mkdn"],
"blockComment": ["<!--", "-->"]
},
"gfm": {
"name": "Markdown (GitHub)",
"mode": "gfm"
},
"yaml": {
"name": "YAML",
"mode": "yaml",
"fileExtensions": ["yaml", "yml"],
"lineComment": ["#"]
},
"hx": {
"name": "Haxe",
"mode": "haxe",
"fileExtensions": ["hx"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
},
"bash": {
"name": "Bash",
"mode": ["shell", "text/x-sh"],
"fileExtensions": ["sh", "command", "bash"],
"fileNames": [".bash_login", ".bash_logout", ".bash_profile", ".bashrc", ".profile"],
"lineComment": ["#"]
},
"image": {
"name": "Image",
"fileExtensions": ["gif", "png", "jpe", "jpeg", "jpg", "ico", "bmp", "webp"],
"isBinary": true
},
"audio": {
"name": "Audio",
"fileExtensions": ["mp3", "wav", "aif", "aiff", "ogg"],
"isBinary": true
},
"binary": {
"name": "Other Binary",
"fileExtensions": [
"a", "ai", "avi", "bin", "cab", "com", "db", "dll", "dmg",
"doc", "docx", "dot", "dotx", "dsym", "dylib", "egg", "epub", "eot",
"exe", "flv", "gz", "gzip", "htmz", "htmlz", "ipch", "iso", "jar",
"jsz", "lib", "mpeg", "mpg", "mp4", "msi", "node", "o", "obj", "odc",
"odb", "odf", "odg", "odp", "ods", "odt", "otf", "pak", "pdb", "pdf",
"pdi", "ppt", "pptx", "psd", "rar", "sdf", "so", "sqlite", "suo", "svgz",
"swf", "tar", "tif", "tiff", "ttf", "woff", "xls", "xlsx", "zip"
],
"isBinary": true
},
"haskell": {
"name": "Haskell",
"mode": "haskell",
"fileExtensions": ["hs"],
"blockComment": ["{-", "-}"],
"lineComment": ["--"]
},
"turtle": {
"name": "RDF Turtle",
"mode": "turtle",
"fileExtensions": ["ttl"],
"lineComment": ["#"]
},
"go": {
"name": "Go",
"mode": "go",
"fileExtensions": ["go"],
"blockComment": ["/*", "*/"],
"lineComment": ["//"]
}
}