]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/graphql.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / graphql.yaml
index ed0bae39b7c66ba10152d11220ff5f21f8dce556..289269f2e7517ce53637088467dfbfedc0a6ff44 100644 (file)
@@ -4,7 +4,7 @@ detect:
     filename: "\\.(gql|graphql)$"
 
 rules:
-    - type: "\\b(?:(query|mutation|subscription|type|fragment|schema|union|on|extends?))\\b"
+    - type: "\\b(?:(query|mutation|subscription|type|input|scalar|fragment|schema|union|on|extends?))\\b"
 
     # scalar types
     - statement: "\\b(ID|Int|Float|Boolean|String|Datetime|Null)\\b"