Add tree-sitter-passwd (#4959)
This commit is contained in:
parent
8a3ec443f1
commit
189c3c2ddc
3 changed files with 18 additions and 0 deletions
|
@ -93,6 +93,7 @@
|
|||
| openscad | ✓ | | | `openscad-lsp` |
|
||||
| org | ✓ | | | |
|
||||
| pascal | ✓ | ✓ | | `pasls` |
|
||||
| passwd | ✓ | | | |
|
||||
| pem | ✓ | | | |
|
||||
| perl | ✓ | ✓ | ✓ | |
|
||||
| php | ✓ | ✓ | ✓ | `intelephense` |
|
||||
|
|
|
@ -2146,3 +2146,13 @@ grammar = "pem"
|
|||
[[grammar]]
|
||||
name = "pem"
|
||||
source = { git = "https://github.com/mtoohey31/tree-sitter-pem", rev = "be67a4330a1aa507c7297bc322204f936ec1132c" }
|
||||
|
||||
[[language]]
|
||||
name = "passwd"
|
||||
scope = "source.passwd"
|
||||
file-types = ["passwd"]
|
||||
roots = []
|
||||
|
||||
[[grammar]]
|
||||
name = "passwd"
|
||||
source = { git = "https://github.com/ath3/tree-sitter-passwd", rev = "20239395eacdc2e0923a7e5683ad3605aee7b716" }
|
||||
|
|
7
runtime/queries/passwd/highlights.scm
Normal file
7
runtime/queries/passwd/highlights.scm
Normal file
|
@ -0,0 +1,7 @@
|
|||
(user) @namespace
|
||||
(auth) @keyword
|
||||
(uid) @constant
|
||||
(gid) @constant
|
||||
(gecos) @string
|
||||
(home) @variable
|
||||
(shell) @attribute
|
Loading…
Reference in a new issue