File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,9 +66,6 @@ contexts:
6666 scope : constant.numeric.graphql
6767
6868 # Symbols
69- - match : ' \:'
70- scope : constant.other.object.key.graphql
71-
7269 - match : ' !'
7370 scope : keyword.control.non-null.graphql
7471
@@ -89,11 +86,17 @@ contexts:
8986 scope : storage.type.interface.graphql
9087
9188 - match : ' \bimplements\b'
92- scope : storage.type .implements.graphql
89+ scope : keyword.operator .implements.graphql
9390
9491 - match : ' \binput\b'
9592 scope : storage.type.input.graphql
9693
94+ - match : ' \bfragment\b'
95+ scope : storage.type.fragment.graphql
96+
97+ - match : ' \bon\b'
98+ scope : storage.type.on.graphql
99+
97100 - match : ' \bscalar\b'
98101 scope : storage.type.scalar.graphql
99102
@@ -119,6 +122,12 @@ contexts:
119122 - match : ' (?<=input )\w+\b'
120123 scope : meta.type.input
121124
125+ - match : ' (?<=fragment )\w+\b'
126+ scope : meta.type.fragment
127+
128+ - match : ' (?<=on )\w+\b'
129+ scope : meta.type.fragment.on meta.type.type
130+
122131 - match : ' (?<=scalar )\w+\b'
123132 scope : meta.type.scalar
124133
Original file line number Diff line number Diff line change 11
22# GraphQL Language Definition for SublimeText 3
33
4+ ** This package supports Sublime Text 3 v3092+.
5+ [ If you're looking for support for older versions, look here.] ( https://github.com/dncrews/GraphQL-SublimeText2 ) **
6+
47GraphQL language definition for SublimeText. Finally support syntax highlighting for your GraphQL IDL files!
58
69![ Highlit Screenshot] ( screenshot.png )
You can’t perform that action at this time.
0 commit comments