summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-07-04 23:30:44 -0500
committerStephan Seitz <stephan.lauf@yahoo.de>2021-07-05 12:39:00 +0200
commit8b876207e6ed1a5b7cd07d1525a917f121f6b018 (patch)
tree481a3cb5363c6e2ed7b861a357919d58c25f92a0 /lua/nvim-treesitter
parent70f739c3379e321e8a1f4090a35ab067851315aa (diff)
Update used_by for parent parsers
html_tags and ecma don't have a parser of they own, but that's actually just to get around to inherit common queries. When editing these "base" queries, the playground breaks. Having them in used_by would fix this.
Diffstat (limited to 'lua/nvim-treesitter')
-rw-r--r--lua/nvim-treesitter/parsers.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index b4d730e8..3e8685af 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -37,7 +37,7 @@ list.javascript = {
url = "https://github.com/tree-sitter/tree-sitter-javascript",
files = { "src/parser.c", "src/scanner.c" },
},
- used_by = { "javascriptreact" },
+ used_by = { "javascriptreact", "ecma" },
maintainers = { "@steelsojka" },
}
@@ -207,6 +207,7 @@ list.html = {
url = "https://github.com/tree-sitter/tree-sitter-html",
files = { "src/parser.c", "src/scanner.cc" },
},
+ used_by = { "html_tags" },
maintainers = { "@TravonteD" },
}