feat: add passwd

This commit is contained in:
Amaan Qureshi 2023-02-27 21:18:00 -05:00
parent f95ffd09ed
commit 3fe80dbecd
4 changed files with 28 additions and 0 deletions

View file

@ -277,6 +277,7 @@ We are looking for maintainers to add more parsers and to write query files for
- [x] [ocamllex](https://github.com/atom-ocaml/tree-sitter-ocamllex) (maintained by @undu)
- [ ] [org](https://github.com/milisims/tree-sitter-org)
- [x] [pascal](https://github.com/Isopod/tree-sitter-pascal.git) (maintained by @Isopod)
- [x] [passwd](https://github.com/ath3/tree-sitter-passwd) (maintained by @amaanq)
- [x] [perl](https://github.com/ganezdragon/tree-sitter-perl) (maintained by @lcrownover)
- [x] [php](https://github.com/tree-sitter/tree-sitter-php) (maintained by @tk-shirasaka)
- [x] [phpdoc](https://github.com/claytonrcarter/tree-sitter-phpdoc) (experimental, maintained by @mikehaertl)

View file

@ -311,6 +311,9 @@
"pascal": {
"revision": "9e995404ddff8319631d72d4b46552e737206912"
},
"passwd": {
"revision": "20239395eacdc2e0923a7e5683ad3605aee7b716"
},
"perl": {
"revision": "c43bae0090cfcfc62d9904312599ded1b645a66d"
},

View file

@ -1003,6 +1003,14 @@ list.pascal = {
maintainers = { "@Isopod" },
}
list.passwd = {
install_info = {
url = "https://github.com/ath3/tree-sitter-passwd",
files = { "src/parser.c" },
},
maintainers = { "@amaanq" },
}
list.perl = {
install_info = {
url = "https://github.com/ganezdragon/tree-sitter-perl",

View file

@ -0,0 +1,16 @@
(user) @namespace
(auth) @symbol
(gecos) @string
(home) @text.uri @constant
(shell) @text.uri @string.special
[
(gid)
(uid)
] @number
(separator) @punctuation.delimiter