mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 18:30:06 -04:00
feat: add passwd
This commit is contained in:
parent
f95ffd09ed
commit
3fe80dbecd
4 changed files with 28 additions and 0 deletions
|
|
@ -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)
|
- [x] [ocamllex](https://github.com/atom-ocaml/tree-sitter-ocamllex) (maintained by @undu)
|
||||||
- [ ] [org](https://github.com/milisims/tree-sitter-org)
|
- [ ] [org](https://github.com/milisims/tree-sitter-org)
|
||||||
- [x] [pascal](https://github.com/Isopod/tree-sitter-pascal.git) (maintained by @Isopod)
|
- [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] [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] [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)
|
- [x] [phpdoc](https://github.com/claytonrcarter/tree-sitter-phpdoc) (experimental, maintained by @mikehaertl)
|
||||||
|
|
|
||||||
|
|
@ -311,6 +311,9 @@
|
||||||
"pascal": {
|
"pascal": {
|
||||||
"revision": "9e995404ddff8319631d72d4b46552e737206912"
|
"revision": "9e995404ddff8319631d72d4b46552e737206912"
|
||||||
},
|
},
|
||||||
|
"passwd": {
|
||||||
|
"revision": "20239395eacdc2e0923a7e5683ad3605aee7b716"
|
||||||
|
},
|
||||||
"perl": {
|
"perl": {
|
||||||
"revision": "c43bae0090cfcfc62d9904312599ded1b645a66d"
|
"revision": "c43bae0090cfcfc62d9904312599ded1b645a66d"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1003,6 +1003,14 @@ list.pascal = {
|
||||||
maintainers = { "@Isopod" },
|
maintainers = { "@Isopod" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
list.passwd = {
|
||||||
|
install_info = {
|
||||||
|
url = "https://github.com/ath3/tree-sitter-passwd",
|
||||||
|
files = { "src/parser.c" },
|
||||||
|
},
|
||||||
|
maintainers = { "@amaanq" },
|
||||||
|
}
|
||||||
|
|
||||||
list.perl = {
|
list.perl = {
|
||||||
install_info = {
|
install_info = {
|
||||||
url = "https://github.com/ganezdragon/tree-sitter-perl",
|
url = "https://github.com/ganezdragon/tree-sitter-perl",
|
||||||
|
|
|
||||||
16
queries/passwd/highlights.scm
Normal file
16
queries/passwd/highlights.scm
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue