We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3110b2e commit 387b108Copy full SHA for 387b108
grammars/rescript.tmLanguage.json
@@ -508,12 +508,40 @@
508
"include": "source.js"
509
}
510
]
511
+ },
512
+ "ffi-single": {
513
+ "name": "source.embedded.javascript.single",
514
+ "match": "(%|%%)(raw|ffi)(\\()(`)(.*?)(`)(\\))",
515
+ "captures": {
516
+ "1": {
517
+ "name": "punctuation.decorator"
518
519
+ "2": {
520
+ "name": "entity.name.function"
521
522
+ "4": {
523
+ "name": "punctuation.definition.string.template.begin.embedded-js"
524
525
+ "5": {
526
+ "patterns": [
527
+ {
528
+ "include": "source.js"
529
+ }
530
+ ]
531
532
+ "6": {
533
+ "name": "punctuation.definition.string.template.end.embedded-js"
534
535
536
537
},
538
"patterns": [
539
{
540
"include": "#storage"
541
542
543
+ "include": "#ffi-single"
544
545
546
"include": "#ffi"
547
0 commit comments