feat(pem): add parser

This commit is contained in:
ObserverOfTime 2023-06-27 11:50:24 +03:00
parent beda622736
commit 43fab6423c
6 changed files with 25 additions and 0 deletions

View file

@ -293,6 +293,7 @@ We are looking for maintainers to add more parsers and to write query files for
- [ ] [org](https://github.com/milisims/tree-sitter-org)
- [x] [pascal](https://github.com/Isopod/tree-sitter-pascal.git) (maintained by @Isopod)
- [x] [passwd](https://github.com/ath3/tree-sitter-passwd) (maintained by @amaanq)
- [x] [pem](https://github.com/ObserverOfTime/tree-sitter-pem) (maintained by @ObserverOfTime)
- [x] [perl](https://github.com/ganezdragon/tree-sitter-perl) (maintained by @lcrownover)
- [x] [php](https://github.com/tree-sitter/tree-sitter-php) (maintained by @tk-shirasaka)
- [x] [phpdoc](https://github.com/claytonrcarter/tree-sitter-phpdoc) (experimental, maintained by @mikehaertl)

View file

@ -356,6 +356,9 @@
"passwd": {
"revision": "20239395eacdc2e0923a7e5683ad3605aee7b716"
},
"pem": {
"revision": "3662443335bc95bac0168a338b0f29f87162c244"
},
"perl": {
"revision": "60aa138f9e1db15becad53070f4d5898b0e8a98c"
},

View file

@ -1084,6 +1084,14 @@ list.passwd = {
maintainers = { "@amaanq" },
}
list.pem = {
install_info = {
url = "https://github.com/ObserverOfTime/tree-sitter-pem",
files = { "src/parser.c" },
},
maintainers = { "@ObserverOfTime" },
}
list.perl = {
install_info = {
url = "https://github.com/ganezdragon/tree-sitter-perl",

1
queries/pem/folds.scm Normal file
View file

@ -0,0 +1 @@
(content) @fold

View file

@ -0,0 +1,11 @@
["BEGIN" "END"] @keyword
(dashes) @punctuation.delimiter
(label) @label
(data) @none
(comment) @comment
(ERROR) @error

View file

@ -0,0 +1 @@
(comment) @comment