Skip to content

Commit 1b32f23

Browse files
author
Kumar Harsh
committed
fix(syntax): highlight '&' for combining multiple interfaces
1 parent e40c751 commit 1b32f23

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

syntaxes/graphql.json

+7
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"1": { "name": "support.type.graphql" }
8888
}
8989
},
90+
{ "include": "#graphql-ampersand" },
9091
{ "include": "#graphql-comma" }
9192
]
9293
},
@@ -324,6 +325,12 @@
324325
"1": { "name": "punctuation.comma.graphql" }
325326
}
326327
},
328+
"graphql-ampersand": {
329+
"match": "\\s*(&)",
330+
"captures": {
331+
"1": { "name": "keyword.operator.logical.graphql" }
332+
}
333+
},
327334
"graphql-colon": {
328335
"match": "\\s*(:)",
329336
"captures": {

0 commit comments

Comments
 (0)