Skip to content

Commit

Permalink
feat(syntax): upgrade html syntax to latest and support .au files (#82)
Browse files Browse the repository at this point in the history
* feat(syntax): sync with latest html syntax and enable support for single file .au
* feat(syntax): add folding of comments
* fix(syntax): fix broken tests/ syntax issues
  • Loading branch information
Erik Lieben authored Feb 28, 2018
1 parent 70cdbe9 commit b1884f7
Show file tree
Hide file tree
Showing 4 changed files with 1,066 additions and 519 deletions.
17 changes: 16 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
],
"activationEvents": [
"onLanguage:html",
"onLanguage:au",
"onCommand:extension.auNew",
"onCommand:extension.auGenerate",
"onCommand:extension.auTest",
Expand All @@ -59,7 +60,8 @@
".aspx",
".jshtm",
".volt",
".ejs"
".ejs",
".au"
],
"aliases": [
"HTML",
Expand All @@ -74,13 +76,26 @@
"text/ng-template",
"application/xhtml+xml"
],
"embeddedLanguages": {
"text.html": "html",
"source.css": "css",
"source.js": "javascript",
"source.python": "python",
"source.smarty": "smarty"
},
"configuration": "./language-configuration.json"
}],
"grammars": [{
"language": "html",
"scopeName": "au.html",
"path": "./syntaxes/html.json"
}],
"folding": {
"markers": {
"start": "^\\s*<!--\\s*#region\\b\\s*(.*?)-->/",
"end": "^\\s*<!--\\s*#endregion\\b\\s*(.*?)-->/"
}
},
"commands": [{
"command": "extension.auNew",
"title": "au new"
Expand Down
Loading

1 comment on commit b1884f7

@eriklieben
Copy link
Contributor

@eriklieben eriklieben commented on b1884f7 Feb 28, 2018

Choose a reason for hiding this comment

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

The .au file support is for the experimental work in https://github.com/aurelia/experiment not the main version

Please sign in to comment.