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 <hoangtun0810@gmail.com>

* 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 <c.clason@uni-graz.at>

* 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 <hoangtun0810@gmail.com>

* Update queries/authzed/highlights.scm

Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>

* unnest here similarly to recommended elsewhere

* Update highlights.scm

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>

---------

Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
This commit is contained in:
Mathew Polzin 2023-10-06 20:43:35 -05:00 committed by GitHub
parent 10bfa4826f
commit 3a2cc3161e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 72 additions and 0 deletions

View file

@ -178,6 +178,7 @@ We are looking for maintainers to add more parsers and to write query files for
- [x] [apex](https://github.com/aheber/tree-sitter-sfapex) (maintained by @aheber)
- [x] [arduino](https://github.com/ObserverOfTime/tree-sitter-arduino) (maintained by @ObserverOfTime)
- [x] [astro](https://github.com/virchau13/tree-sitter-astro) (maintained by @virchau13)
- [x] [authzed](https://github.com/mleonidas/tree-sitter-authzed) (maintained by @mattpolzin)
- [ ] [awk](https://github.com/Beaglefoot/tree-sitter-awk)
- [x] [bash](https://github.com/tree-sitter/tree-sitter-bash) (maintained by @TravonteD)
- [x] [bass](https://github.com/amaanq/tree-sitter-bass) (maintained by @amaanq)