aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Kegley <hi@bryankegley.me>2020-11-22 17:14:13 -0600
committerThomas Vigouroux <tomvig38@gmail.com>2020-11-27 14:06:27 +0100
commit4cc4c6f8b1591a1b05f50d32093dbbb5bc23f9cc (patch)
tree060a1fceba48f46067e070c0ee99e16827672f2c
parentUpdate bug report to add update informations (diff)
downloadnvim-treesitter-4cc4c6f8b1591a1b05f50d32093dbbb5bc23f9cc.tar
nvim-treesitter-4cc4c6f8b1591a1b05f50d32093dbbb5bc23f9cc.tar.gz
nvim-treesitter-4cc4c6f8b1591a1b05f50d32093dbbb5bc23f9cc.tar.bz2
nvim-treesitter-4cc4c6f8b1591a1b05f50d32093dbbb5bc23f9cc.tar.lz
nvim-treesitter-4cc4c6f8b1591a1b05f50d32093dbbb5bc23f9cc.tar.xz
nvim-treesitter-4cc4c6f8b1591a1b05f50d32093dbbb5bc23f9cc.tar.zst
nvim-treesitter-4cc4c6f8b1591a1b05f50d32093dbbb5bc23f9cc.zip
feat: add graphql grammar
-rw-r--r--README.md1
-rw-r--r--lua/nvim-treesitter/parsers.lua8
2 files changed, 9 insertions, 0 deletions
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",