diff options
author | Jared Ramirez | 2022-01-21 14:16:40 +0000 |
---|---|---|
committer | GitHub | 2022-01-21 14:16:40 +0000 |
commit | 0b55b21f3069640d37d2fa34bd413986177c0cd7 (patch) | |
tree | 13679376b094c285d409422c5df6bb590892718b /languages.toml | |
parent | f453f8724dc9374d6a88c19d83ba84e7d74dcac2 (diff) |
feat(languages): GraphQL (#1515)
* Add Graphql language support
* Fix docs gen
* Add JS Graphql injection query
* Updates based on PR feedback
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index ea93df3a..f9362eac 100644 --- a/languages.toml +++ b/languages.toml @@ -569,6 +569,14 @@ comment-token = "#" indent = { tab-width = 4, unit = "\t" } [[language]] +name = "graphql" +scope = "source.graphql" +injection-regex = "graphql" +file-types = ["gql", "graphql"] +roots = [] +indent = { tab-width = 2, unit = " " } + +[[language]] name = "elm" scope = "source.elm" injection-regex = "elm" |