Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Specify that CSS, JS, and Ruby can be embedded in ERB
Browse files Browse the repository at this point in the history
This allows the fix attempted in #224 to still work while also
supporting proper ERB comments
  • Loading branch information
wingrunr21 committed Feb 4, 2018
1 parent ecd5007 commit 1af8efb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,12 @@
{
"language": "erb",
"scopeName": "text.html.erb",
"path": "./syntaxes/erb.cson.json"
"path": "./syntaxes/erb.cson.json",
"embeddedLanguages": {
"source.css": "css",
"source.js": "javascript",
"source.ruby": "ruby"
}
},
{
"language": "gemfile",
Expand Down

0 comments on commit 1af8efb

Please sign in to comment.