on master help sign in
Add tree-sitter-passwd (#4959)
commit189c3c2ddc60fb0eb7d15496099d46baec514732 authorath3 <45574139+ath3@users.noreply.github.com> dateFri 10 Feb 2023, 18:12 (4 years ago) parent8a3ec44
3 files changed+18
book/src/generated/lang-support.md+1 languages.toml+10 runtime/queries/passwd/highlights.scm+7
book/src/generated/lang-support.md+1
@@ -93,6 +93,7 @@
9393| openscad | ✓ | | | `openscad-lsp` |
9494| org | ✓ | | | |
9595| pascal | ✓ | ✓ | | `pasls` |
96+| passwd | ✓ | | | |
9697| pem | ✓ | | | |
9798| perl | ✓ | ✓ | ✓ | |
9899| php | ✓ | ✓ | ✓ | `intelephense` |
languages.toml+10
@@ -2146,3 +2146,13 @@ grammar = "pem"
21462146[[grammar]]
21472147name = "pem"
21482148source = { 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