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

Added .ASP files highlighting #5010

Merged
merged 4 commits into from
Sep 4, 2013
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/language/languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"html": {
"name": "HTML",
"mode": ["htmlmixed", "text/x-brackets-html"],
"fileExtensions": ["html", "htm", "shtm", "shtml", "xhtml", "cfm", "cfml", "cfc", "dhtml", "xht", "tpl", "twig", "hbs", "handlebars", "kit", "jsp", "aspx"],
"fileExtensions": ["html", "htm", "shtm", "shtml", "xhtml", "cfm", "cfml", "cfc", "dhtml", "xht", "tpl", "twig", "hbs", "handlebars", "kit", "jsp", "aspx", "asp"],
"blockComment": ["<!--", "-->"]
},

Expand All @@ -55,6 +55,14 @@
"lineComment": ["//"]
},

"vbscript": {
"name": "VBScript",
"mode": "vbscript",
"fileExtensions": ["vbscript"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most common file extension for VBScript files is .vbs. I've never seen .vbscript:

        "fileExtensions": ["vbs"],

"blockComment": ["/*", "*/"],
"lineComment": ["//"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line comments for VBScript are delimited with a single-quote, so this should be:

        "lineComment": ["'"]

},

"json": {
"name": "JSON",
"mode": ["javascript", "application/json"],
Expand Down