on master help sign in
Add tree-sitter-passwd (#4959)
189c3c2ath3
book/src/generated/lang-support.md+1
@@ -93,6 +93,7 @@
93| openscad | ✓ | | | `openscad-lsp` |
93| openscad | ✓ | | | `openscad-lsp` |
94| org | ✓ | | | |
94| org | ✓ | | | |
95| pascal | ✓ | ✓ | | `pasls` |
95| pascal | ✓ | ✓ | | `pasls` |
96+| passwd | ✓ | | | |
96| pem | ✓ | | | |
97| pem | ✓ | | | |
97| perl | ✓ | ✓ | ✓ | |
98| perl | ✓ | ✓ | ✓ | |
98| php | ✓ | ✓ | ✓ | `intelephense` |
99| php | ✓ | ✓ | ✓ | `intelephense` |
languages.toml+10
@@ -2146,3 +2146,13 @@ grammar = "pem"
2146[[grammar]]
2146[[grammar]]
2147name = "pem"
2147name = "pem"
2148source = { git = "https://github.com/mtoohey31/tree-sitter-pem", rev = "be67a4330a1aa507c7297bc322204f936ec1132c" }
2148source = { git = "https://github.com/mtoohey31/tree-sitter-pem", rev = "be67a4330a1aa507c7297bc322204f936ec1132c" }
2149+
2150+[[language]]
2151+name = "passwd"
2152+scope = "source.passwd"
2153+file-types = ["passwd"]
2154+roots = []
2155+
2156+[[grammar]]
2157+name = "passwd"
2158+source = { git = "https://github.com/ath3/tree-sitter-passwd", rev = "20239395eacdc2e0923a7e5683ad3605aee7b716" }
runtime/queries/passwd/highlights.scmnew file+7
@@ -0,0 +1,7 @@
1+(user) @namespace
2+(auth) @keyword
3+(uid) @constant
4+(gid) @constant
5+(gecos) @string
6+(home) @variable
7+(shell) @attribute