Skip to content

Commit

Permalink
Add tree-sitter-passwd
Browse files Browse the repository at this point in the history
  • Loading branch information
ath3 committed Dec 1, 2022
1 parent 5a3ff74 commit 1bdb866
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
| openscad || | | `openscad-lsp` |
| org || | | |
| pascal ||| | `pasls` |
| passwd || | | |
| perl |||| |
| php |||| `intelephense` |
| prisma || | | `prisma-language-server` |
Expand Down
11 changes: 11 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1994,3 +1994,14 @@ grammar = "qmljs"
[[grammar]]
name = "qmljs"
source = { git = "https://github.com/yuja/tree-sitter-qmljs", rev = "0b2b25bcaa7d4925d5f0dda16f6a99c588a437f1" }

[[language]]
name = "passwd"
scope = "source.passwd"
file-types = ["passwd"]
roots = []
grammar = "passwd"

[[grammar]]
name = "passwd"
source = { git = "https://github.com/ath3/tree-sitter-passwd", rev = "20239395eacdc2e0923a7e5683ad3605aee7b716" }
7 changes: 7 additions & 0 deletions runtime/queries/passwd/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(user) @namespace
(auth) @keyword
(uid) @constant
(gid) @constant
(gecos) @string
(home) @variable
(shell) @attribute

0 comments on commit 1bdb866

Please sign in to comment.