on master help sign in
feat: add pem language (#5797)
commit05c52072653f4c276750e3c651b9c4e030e912d2 authorMatthew Toohey <contact@mtoohey.com> dateTue 7 Feb 2023, 18:24 (4 years ago) parentfce30c0
3 files changed+20
book/src/generated/lang-support.md+1 languages.toml+12 runtime/queries/pem/highlights.scm+7
book/src/generated/lang-support.md+1
@@ -93,6 +93,7 @@
9393| openscad | ✓ | | | `openscad-lsp` |
9494| org | ✓ | | | |
9595| pascal | ✓ | ✓ | | `pasls` |
96+| pem | ✓ | | | |
9697| perl | ✓ | ✓ | ✓ | |
9798| php | ✓ | ✓ | ✓ | `intelephense` |
9899| ponylang | ✓ | ✓ | ✓ | |
languages.toml+12
@@ -2134,3 +2134,15 @@ grammar = "xml"
21342134'"' = '"'
21352135"'" = "'"
21362136"<" = ">"
2137+
2138+[[language]]
2139+name = "pem"
2140+scope = "source.pem"
2141+file-types = ["pem", "cert", "crt"]
2142+injection-regex = "pem"
2143+roots = []
2144+grammar = "pem"
2145+
2146+[[grammar]]
2147+name = "pem"
2148+source = { git = "https://github.com/mtoohey31/tree-sitter-pem", rev = "be67a4330a1aa507c7297bc322204f936ec1132c" }
runtime/queries/pem/highlights.scmnew file+7
@@ -0,0 +1,7 @@
1+(label) @constant
2+
3+(preeb) @keyword
4+(posteb) @keyword
5+
6+(base64pad) @string.special.symbol
7+(laxbase64text) @string