Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 25, 2025. It is now read-only.

Commit d14c3da

Browse files
author
Tobermory
authored
Merge pull request #61 from mrmurphy/master
Support ReScript syntax
2 parents 652ab53 + b8f5121 commit d14c3da

File tree

8 files changed

+29
-15
lines changed

8 files changed

+29
-15
lines changed

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"source.svelte",
6262
"source.sql",
6363
"source.css",
64+
"source.rescript",
6465
"text.html"
6566
],
6667
"scopeName": "inline.es6-css",
@@ -80,6 +81,7 @@
8081
"source.vue",
8182
"source.svelte",
8283
"source.sql",
84+
"source.rescript",
8385
"text.html"
8486
],
8587
"scopeName": "inline.es6-glsl",
@@ -99,6 +101,7 @@
99101
"source.vue",
100102
"source.svelte",
101103
"source.sql",
104+
"source.rescript",
102105
"text.html"
103106
],
104107
"scopeName": "inline.es6-xml",
@@ -118,6 +121,7 @@
118121
"source.vue",
119122
"source.svelte",
120123
"source.sql",
124+
"source.rescript",
121125
"text.html"
122126
],
123127
"scopeName": "inline.es6-js-injection",
@@ -134,6 +138,7 @@
134138
"source.vue",
135139
"source.svelte",
136140
"source.sql",
141+
"source.rescript",
137142
"text.html"
138143
],
139144
"scopeName": "inline.es6-html",
@@ -150,6 +155,7 @@
150155
"source.vue",
151156
"source.svelte",
152157
"source.sql",
158+
"source.rescript",
153159
"text.html"
154160
],
155161
"scopeName": "inline.es6-sql",
@@ -169,6 +175,7 @@
169175
"source.vue",
170176
"source.svelte",
171177
"source.sql",
178+
"source.rescript",
172179
"text.html"
173180
],
174181
"scopeName": "inline.es6-javascript",

syntaxes/es6-inline-css.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
"html",
88
"vue",
99
"svelte",
10-
"php"
10+
"php",
11+
"res"
1112
],
12-
"injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string",
13+
"injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string, L:source.vue -comment -string, L:source.svelte -comment -string, L:source.php -comment -string, L:source.rescript -comment -string",
1314
"injections": {
1415
"L:source": {
1516
"patterns": [

syntaxes/es6-inline-glsl.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
"html",
88
"vue",
99
"svelte",
10-
"php"
10+
"php",
11+
"res"
1112
],
12-
"injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string",
13+
"injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string",
1314
"injections": {
1415
"L:source": {
1516
"patterns": [

syntaxes/es6-inline-html.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
"html",
88
"vue",
99
"svelte",
10-
"php"
10+
"php",
11+
"res"
1112
],
12-
"injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string",
13+
"injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string",
1314
"injections": {
1415
"L:source": {
1516
"patterns": [

syntaxes/es6-inline-javascript.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
"html",
88
"vue",
99
"svelte",
10-
"php"
10+
"php",
11+
"res"
1112
],
12-
"injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string",
13+
"injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string",
1314
"injections": {
1415
"L:source": {
1516
"patterns": [
@@ -109,4 +110,4 @@
109110
}
110111
],
111112
"scopeName": "inline.es6-javascript"
112-
}
113+
}

syntaxes/es6-inline-sql.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
"html",
88
"vue",
99
"svelte",
10-
"php"
10+
"php",
11+
"res"
1112
],
12-
"injectionSelector": "L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string",
13+
"injectionSelector": "L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string",
1314
"injections": {
1415
"L:source": {
1516
"patterns": [

syntaxes/es6-inline-xml.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
"html",
88
"vue",
99
"svelte",
10-
"php"
10+
"php",
11+
"res"
1112
],
12-
"injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string",
13+
"injectionSelector": "L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string",
1314
"injections": {
1415
"L:source": {
1516
"patterns": [

syntaxes/es6-js-injection.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
"html",
88
"vue",
99
"svelte",
10-
"php"
10+
"php",
11+
"res"
1112
],
12-
"injectionSelector": "L:source.js (string.quoted.double.html, string.quoted.single.html), L:source.jsx (string.quoted.double.html, string.quoted.single.html), L:source.js.jsx (string.quoted.double.html, string.quoted.single.html), L:source.ts (string.quoted.double.html, string.quoted.single.html), L:source.tsx (string.quoted.double.html, string.quoted.single.html)",
13+
"injectionSelector": "L:source.js (string.quoted.double.html, string.quoted.single.html), L:source.jsx (string.quoted.double.html, string.quoted.single.html), L:source.js.jsx (string.quoted.double.html, string.quoted.single.html), L:source.ts (string.quoted.double.html, string.quoted.single.html), L:source.tsx (string.quoted.double.html, string.quoted.single.html), L:source.rescript -comment -string",
1314
"patterns": [
1415
{
1516
"include": "source.ts#template-substitution-element"

0 commit comments

Comments
 (0)