From 4cc4c6f8b1591a1b05f50d32093dbbb5bc23f9cc Mon Sep 17 00:00:00 2001 From: Bryan Kegley Date: Sun, 22 Nov 2020 17:14:13 -0600 Subject: feat: add graphql grammar --- README.md | 1 + lua/nvim-treesitter/parsers.lua | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index d712b456c..31d291b06 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,7 @@ We are looking for maintainers to add more parsers and to write query files for - [x] [dart](https://github.com/UserNobody14/tree-sitter-dart) (maintained by @Akin909) - [ ] [elm](https://github.com/razzeee/tree-sitter-elm) - [x] [fennel](https://github.com/travonted/tree-sitter-fennel) (maintained by @TravonteD) +- [x] [graphql](https://github.com/bkegley/tree-sitter-graphql) (maintained by @bkegley) - [x] [go](https://github.com/tree-sitter/tree-sitter-go) (maintained by @theHamsta, @WinWisely268) - [ ] [haskell](https://github.com/tree-sitter/tree-sitter-haskell) - [x] [html](https://github.com/tree-sitter/tree-sitter-html) (maintained by @TravonteD) diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 6a443712e..afc2e4cb7 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -69,6 +69,14 @@ list.go = { maintainers = {"@theHamsta", "@WinWisely268"}, } +list.graphql = { + install_info = { + url = "https://github.com/bkegley/tree-sitter-graphql", + files = { "src/parser.c" }, + }, + maintainers = {"@bkegley"}, +} + list.ruby = { install_info = { url = "https://github.com/tree-sitter/tree-sitter-ruby", -- cgit v1.2.3-70-g09d2