mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Add tree-sitter-passwd (#4959)
This commit is contained in:
parent
8a3ec443f1
commit
189c3c2ddc
@ -93,6 +93,7 @@
|
|||||||
| openscad | ✓ | | | `openscad-lsp` |
|
| openscad | ✓ | | | `openscad-lsp` |
|
||||||
| org | ✓ | | | |
|
| org | ✓ | | | |
|
||||||
| pascal | ✓ | ✓ | | `pasls` |
|
| pascal | ✓ | ✓ | | `pasls` |
|
||||||
|
| passwd | ✓ | | | |
|
||||||
| pem | ✓ | | | |
|
| pem | ✓ | | | |
|
||||||
| perl | ✓ | ✓ | ✓ | |
|
| perl | ✓ | ✓ | ✓ | |
|
||||||
| php | ✓ | ✓ | ✓ | `intelephense` |
|
| php | ✓ | ✓ | ✓ | `intelephense` |
|
||||||
|
@ -2146,3 +2146,13 @@ grammar = "pem"
|
|||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "pem"
|
name = "pem"
|
||||||
source = { git = "https://github.com/mtoohey31/tree-sitter-pem", rev = "be67a4330a1aa507c7297bc322204f936ec1132c" }
|
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 New Issue
Block a user