Skip to content

Commit 996ef39

Browse files
committed
113: Make Language IDs compliant
This changes the language IDs of eex and HTML eex to be compliant with the new identifier guidelines in vscode.
1 parent bd64849 commit 996ef39

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
"homepage": "https://github.com/fr1zle/vscode-elixir",
2222
"categories": ["Languages"],
2323
"activationEvents": ["onLanguage:elixir"],
24-
"emmet.syntaxProfiles": {
25-
"HTML (Eex)": "html"
26-
},
24+
"emmet.includeLanguages": { "html_eex": "html" },
2725
"contributes": {
2826
"languages": [
2927
{
@@ -33,13 +31,14 @@
3331
"configuration": "./elixir.configuration.json"
3432
},
3533
{
36-
"id": "Eex",
37-
"aliases": ["Eex", "eex"],
34+
35+
"id": "eex",
36+
"aliases": ["Embedded Elixir", "eex"],
3837
"extensions": [".eex"]
3938
},
4039
{
41-
"id": "HTML (Eex)",
42-
"aliases": ["HTML (Eex)"],
40+
"id": "html-eex",
41+
"aliases": ["HTML (Embedded Elixir)"],
4342
"extensions": [".html.eex"],
4443
"configuration": "./html.eex.configuration.json"
4544
}
@@ -51,14 +50,15 @@
5150
"path": "./syntaxes/elixir.json"
5251
},
5352
{
54-
"language": "Eex",
53+
"language": "eex",
5554
"scopeName": "text.elixir",
5655
"path": "./syntaxes/eex.json"
5756
},
5857
{
59-
"language": "HTML (Eex)",
58+
59+
"language": "html-eex",
6060
"scopeName": "text.html.elixir",
61-
"path": "./syntaxes/html (eex).json"
61+
"path": "./syntaxes/html_eex.json"
6262
}
6363
],
6464
"snippets": [

syntaxes/eex.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"fileTypes": ["eex"],
3-
"name": "EEx",
3+
"name": "eex",
44
"patterns": [
55
{
66
"begin": "<%+#",

syntaxes/html (eex).json renamed to syntaxes/html_eex.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"(?x)\n\t\t(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b.*?>\n\t\t|<!--(?!.*-->)\n\t\t|\\{\\s*($|\\?>\\s*$|//|/\\*(.*\\*/\\s*$|(?!.*?\\*/)))\n\t\t)",
55
"foldingStopMarker":
66
"(?x)\n\t\t(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>\n\t\t|^\\s*-->\n\t\t|(^|\\s)\\}\n\t\t)",
7-
"name": "HTML (EEx)",
7+
"name": "html_eex",
88
"patterns": [
99
{
1010
"include": "text.elixir"

0 commit comments

Comments
 (0)