Skip to content

Commit

Permalink
feat: add pem language
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoohey31 committed Feb 3, 2023
1 parent 3041236 commit c4f4dea
Show file tree
Hide file tree
Showing 3 changed files with 20 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 @@ -92,6 +92,7 @@
| openscad || | | `openscad-lsp` |
| org || | | |
| pascal ||| | `pasls` |
| pem || | | |
| perl |||| |
| php |||| `intelephense` |
| ponylang |||| |
Expand Down
12 changes: 12 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2117,3 +2117,15 @@ roots = []
comment-token = "#"
indent = { tab-width = 4, unit = " " }
grammar = "python"

[[language]]
name = "pem"
scope = "source.pem"
file-types = ["pem", "cert", "crt"]
injection-regex = "pem"
roots = []
grammar = "pem"

[[grammar]]
name = "pem"
source = { git = "https://github.com/mtoohey31/tree-sitter-pem", rev = "e1d2bdf79e3e97fffe90ad76df63f6f58df11c86" }
7 changes: 7 additions & 0 deletions runtime/queries/pem/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(label) @constant

(preeb) @keyword
(posteb) @keyword

(base64pad) @string.special.symbol
(laxbase64text) @string

0 comments on commit c4f4dea

Please sign in to comment.