aboutsummaryrefslogtreecommitdiffstats
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
parenthighlights(zig): highlight `unreachable` (diff)
downloadnvim-treesitter-8b876207e6ed1a5b7cd07d1525a917f121f6b018.tar
nvim-treesitter-8b876207e6ed1a5b7cd07d1525a917f121f6b018.tar.gz
nvim-treesitter-8b876207e6ed1a5b7cd07d1525a917f121f6b018.tar.bz2
nvim-treesitter-8b876207e6ed1a5b7cd07d1525a917f121f6b018.tar.lz
nvim-treesitter-8b876207e6ed1a5b7cd07d1525a917f121f6b018.tar.xz
nvim-treesitter-8b876207e6ed1a5b7cd07d1525a917f121f6b018.tar.zst
nvim-treesitter-8b876207e6ed1a5b7cd07d1525a917f121f6b018.zip
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.
-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 b4d730e8d..3e8685af9 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" },
}