Skip to content

Commit

Permalink
fix(scope name): fixed grammar no longer working. possibly fixed inte…
Browse files Browse the repository at this point in the history
…gration with vscode-html-css

fix #51
  • Loading branch information
ghaschel committed Aug 9, 2022
1 parent 6331fdf commit 2e60e1e
Show file tree
Hide file tree
Showing 8 changed files with 5,662 additions and 5,628 deletions.
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

16 changes: 14 additions & 2 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
.gitignore
.github/**
.husky/**
.vscode/**
assets/**
node_modules/**
scripts/**
src/**
test/**
.gikeep
.editorconfig
.gitattributes
.gitignore
.hushlogin
.prettierrc.json
commitlint.config.js
gulpfile.js
travis.yml
package-lock.json
34 changes: 0 additions & 34 deletions language-configuration.json

This file was deleted.

23 changes: 5 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"publish": "standard-version && git push --follow-tags origin master && vsce publish",
"postinstall": "node scripts/postinstall.js",
"prepare": "husky install",
"test": "npx vscode-tmgrammar-test -g syntaxes/template.ng.json -g test/externalGrammars/source.css.tmLanguage.json -g test/externalGrammars/source.ts.tmLanguage.json -g test/externalGrammars/source.css.scss.tmLanguage.json -g test/externalGrammars/source.css.less.tmLanguage.json -g test/externalGrammars/source.stylus.tmLanguage.json -g test/externalGrammars/source.sassdoc.tmLanguage.json test/*.html",
"update-snapshots": "npx vscode-tmgrammar-snap -s template.ng -g syntaxes/template.ng.json -g test/externalGrammars/source.css.tmLanguage.json -g test/externalGrammars/source.ts.tmLanguage.json -g test/externalGrammars/source.css.scss.tmLanguage.json -g test/externalGrammars/source.css.less.tmLanguage.json -g test/externalGrammars/source.stylus.tmLanguage.json -g test/externalGrammars/source.sassdoc.tmLanguage.json --updateSnapshot test/*.html"
"test": "npx vscode-tmgrammar-test -g syntaxes/html-template.ng.json -g test/externalGrammars/source.css.tmLanguage.json -g test/externalGrammars/source.ts.tmLanguage.json -g test/externalGrammars/source.css.scss.tmLanguage.json -g test/externalGrammars/source.css.less.tmLanguage.json -g test/externalGrammars/source.stylus.tmLanguage.json -g test/externalGrammars/source.sassdoc.tmLanguage.json test/*.html",
"update-snapshots": "npx vscode-tmgrammar-snap -s html-template.ng -g syntaxes/html-template.ng.json -g test/externalGrammars/source.css.tmLanguage.json -g test/externalGrammars/source.ts.tmLanguage.json -g test/externalGrammars/source.css.scss.tmLanguage.json -g test/externalGrammars/source.css.less.tmLanguage.json -g test/externalGrammars/source.stylus.tmLanguage.json -g test/externalGrammars/source.sassdoc.tmLanguage.json --updateSnapshot test/*.html"
},
"engines": {
"vscode": "^1.20.0"
Expand All @@ -28,27 +28,14 @@
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "html",
"aliases": [
"HTML (Angular template)"
],
"extensions": [
".html",
".component.html"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "html",
"scopeName": "template.ng",
"path": "./syntaxes/template.ng.json",
"scopeName": "html-template.ng",
"path": "./syntaxes/html-template.ng.json",
"injectTo": [
"text.html",
"text.html.derivative"
"template.ng"
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/base.json5
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@
{ include: '#doctype' },
{ include: '#entities' },
],
repository: {}
repository: {},
}
Loading

0 comments on commit 2e60e1e

Please sign in to comment.