From 3a2cc3161e01455d619a8076f0aa7fcd3e930090 Mon Sep 17 00:00:00 2001 From: Mathew Polzin Date: Fri, 6 Oct 2023 20:43:35 -0500 Subject: feat(authzed): add parser and highlight queries. (#5426) * feat(authzed): add parser and highlight queries * Update queries/authzed/highlights.scm use `any-of` for list of alternative words. Co-authored-by: Pham Huy Hoang * add injections queries file. * Update queries/authzed/highlights.scm * tweak whitespace * fix errors with capture names. * style(authzed): reformat highlights * add self as maintainer * Update lua/nvim-treesitter/parsers.lua Co-authored-by: Christian Clason * Add to lockfile and readme * feat(authzed): Updates to queries and lockfile around newest Authzed parser changes. * Update queries/authzed/highlights.scm Co-authored-by: Pham Huy Hoang * Update queries/authzed/highlights.scm Co-authored-by: Pham Huy Hoang * unnest here similarly to recommended elsewhere * Update highlights.scm Co-authored-by: ObserverOfTime --------- Co-authored-by: Pham Huy Hoang Co-authored-by: ObserverOfTime Co-authored-by: Christian Clason --- lua/nvim-treesitter/parsers.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lua') diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 26a2bf8f5..d8dfb7124 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -117,6 +117,14 @@ list.astro = { maintainers = { "@virchau13" }, } +list.authzed = { + install_info = { + url = "https://github.com/mleonidas/tree-sitter-authzed", + files = { "src/parser.c" }, + }, + maintainers = { "@mattpolzin" }, +} + list.awk = { install_info = { url = "https://github.com/Beaglefoot/tree-sitter-awk", -- cgit v1.2.3-70-g09d2