From 8b876207e6ed1a5b7cd07d1525a917f121f6b018 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Sun, 4 Jul 2021 23:30:44 -0500 Subject: 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. --- lua/nvim-treesitter/parsers.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua') 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" }, } -- cgit v1.2.3-70-g09d2