mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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)
|
||||
- [ ] [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)
|
||||
|
|
|
|||
|
|
@ -311,6 +311,9 @@
|
|||
"pascal": {
|
||||
"revision": "9e995404ddff8319631d72d4b46552e737206912"
|
||||
},
|
||||
"passwd": {
|
||||
"revision": "20239395eacdc2e0923a7e5683ad3605aee7b716"
|
||||
},
|
||||
"perl": {
|
||||
"revision": "c43bae0090cfcfc62d9904312599ded1b645a66d"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
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