mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 04:40:08 -04:00
feat(pem): add parser
This commit is contained in:
parent
beda622736
commit
43fab6423c
6 changed files with 25 additions and 0 deletions
|
|
@ -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)
|
- [ ] [org](https://github.com/milisims/tree-sitter-org)
|
||||||
- [x] [pascal](https://github.com/Isopod/tree-sitter-pascal.git) (maintained by @Isopod)
|
- [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] [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] [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] [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)
|
- [x] [phpdoc](https://github.com/claytonrcarter/tree-sitter-phpdoc) (experimental, maintained by @mikehaertl)
|
||||||
|
|
|
||||||
|
|
@ -356,6 +356,9 @@
|
||||||
"passwd": {
|
"passwd": {
|
||||||
"revision": "20239395eacdc2e0923a7e5683ad3605aee7b716"
|
"revision": "20239395eacdc2e0923a7e5683ad3605aee7b716"
|
||||||
},
|
},
|
||||||
|
"pem": {
|
||||||
|
"revision": "3662443335bc95bac0168a338b0f29f87162c244"
|
||||||
|
},
|
||||||
"perl": {
|
"perl": {
|
||||||
"revision": "60aa138f9e1db15becad53070f4d5898b0e8a98c"
|
"revision": "60aa138f9e1db15becad53070f4d5898b0e8a98c"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1084,6 +1084,14 @@ list.passwd = {
|
||||||
maintainers = { "@amaanq" },
|
maintainers = { "@amaanq" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
list.pem = {
|
||||||
|
install_info = {
|
||||||
|
url = "https://github.com/ObserverOfTime/tree-sitter-pem",
|
||||||
|
files = { "src/parser.c" },
|
||||||
|
},
|
||||||
|
maintainers = { "@ObserverOfTime" },
|
||||||
|
}
|
||||||
|
|
||||||
list.perl = {
|
list.perl = {
|
||||||
install_info = {
|
install_info = {
|
||||||
url = "https://github.com/ganezdragon/tree-sitter-perl",
|
url = "https://github.com/ganezdragon/tree-sitter-perl",
|
||||||
|
|
|
||||||
1
queries/pem/folds.scm
Normal file
1
queries/pem/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
(content) @fold
|
||||||
11
queries/pem/highlights.scm
Normal file
11
queries/pem/highlights.scm
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
["BEGIN" "END"] @keyword
|
||||||
|
|
||||||
|
(dashes) @punctuation.delimiter
|
||||||
|
|
||||||
|
(label) @label
|
||||||
|
|
||||||
|
(data) @none
|
||||||
|
|
||||||
|
(comment) @comment
|
||||||
|
|
||||||
|
(ERROR) @error
|
||||||
1
queries/pem/injections.scm
Normal file
1
queries/pem/injections.scm
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
(comment) @comment
|
||||||
Loading…
Add table
Add a link
Reference in a new issue