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

Commit 1af8efb

Browse files
committed
Specify that CSS, JS, and Ruby can be embedded in ERB
This allows the fix attempted in #224 to still work while also supporting proper ERB comments
1 parent ecd5007 commit 1af8efb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,12 @@
354354
{
355355
"language": "erb",
356356
"scopeName": "text.html.erb",
357-
"path": "./syntaxes/erb.cson.json"
357+
"path": "./syntaxes/erb.cson.json",
358+
"embeddedLanguages": {
359+
"source.css": "css",
360+
"source.js": "javascript",
361+
"source.ruby": "ruby"
362+
}
358363
},
359364
{
360365
"language": "gemfile",

0 commit comments

Comments
 (0)