This repository was archived by the owner on Jul 31, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +81
-0
lines changed Expand file tree Collapse file tree 3 files changed +81
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "fileTypes" : [" re" , " ml" ],
3
+ "injectionSelector" : " L:source -string -comment" ,
4
+ "patterns" : [
5
+ {
6
+ "contentName" : " meta.embedded.block.graphql" ,
7
+ "begin" : " ({)(gql)(\\ |)" ,
8
+ "end" : " (\\ |)(\\ 2)(})" ,
9
+ "patterns" : [
10
+ {
11
+ "include" : " source.graphql"
12
+ }
13
+ ]
14
+ },
15
+ {
16
+ "contentName" : " meta.embedded.block.graphql" ,
17
+ "begin" : " (\\ [%graphql)s*$" ,
18
+ "end" : " (?<=])" ,
19
+ "patterns" : [
20
+ {
21
+ "begin" : " ^\\ s*({\\ |)$" ,
22
+ "end" : " ^\\ s*(\\ |})" ,
23
+ "patterns" : [{ "include" : " source.graphql" }]
24
+ }
25
+ ]
26
+ },
27
+ {
28
+ "contentName" : " meta.embedded.block.graphql" ,
29
+ "begin" : " (\\ [%graphql {\\ |)" ,
30
+ "end" : " (\\ |}( )?])" ,
31
+ "patterns" : [{ "include" : " source.graphql" }]
32
+ }
33
+ ],
34
+ "scopeName" : " inline.graphql.re"
35
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "fileTypes" : [" res" , " resi" ],
3
+ "injectionSelector" : " L:source -string -comment" ,
4
+ "patterns" : [
5
+ {
6
+ "contentName" : " meta.embedded.block.graphql" ,
7
+ "begin" : " (%graphql\\ ()\\ s*$" ,
8
+ "end" : " (?<=\\ ))" ,
9
+ "patterns" : [
10
+ {
11
+ "begin" : " ^\\ s*(`)$" ,
12
+ "end" : " ^\\ s*(`)" ,
13
+ "patterns" : [{ "include" : " source.graphql" }]
14
+ }
15
+ ]
16
+ },
17
+ {
18
+ "contentName" : " meta.embedded.block.graphql" ,
19
+ "begin" : " (%graphql\\ (`)" ,
20
+ "end" : " (\\ `( )?\\ ))" ,
21
+ "patterns" : [{ "include" : " source.graphql" }]
22
+ }
23
+ ],
24
+ "scopeName" : " inline.graphql.res"
25
+ }
Original file line number Diff line number Diff line change 77
77
"meta.embedded.block.graphql" : " graphql"
78
78
}
79
79
},
80
+ {
81
+ "injectTo" : [
82
+ " source.reason" ,
83
+ " source.ocaml"
84
+ ],
85
+ "scopeName" : " inline.graphql.re" ,
86
+ "path" : " ./grammars/graphql.re.json" ,
87
+ "embeddedLanguages" : {
88
+ "meta.embedded.block.graphql" : " graphql"
89
+ }
90
+ },
91
+ {
92
+ "injectTo" : [
93
+ " source.rescript"
94
+ ],
95
+ "scopeName" : " inline.graphql.res" ,
96
+ "path" : " ./grammars/graphql.rescript.json" ,
97
+ "embeddedLanguages" : {
98
+ "meta.embedded.block.graphql" : " graphql"
99
+ }
100
+ },
80
101
{
81
102
"injectTo" : [
82
103
" text.html.markdown"
You can’t perform that action at this time.
0 commit comments