Skip to content

Commit

Permalink
Add initial support for janet-lang
Browse files Browse the repository at this point in the history
  • Loading branch information
pnelson committed Dec 14, 2023
1 parent 7c55190 commit c87ea26
Show file tree
Hide file tree
Showing 3 changed files with 16 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 @@ -73,6 +73,7 @@
| idris | | | | `idris2-lsp` |
| iex || | | |
| ini || | | |
| janet || | | |
| java |||| `jdtls` |
| javascript |||| `typescript-language-server` |
| jinja || | | |
Expand Down
14 changes: 14 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2952,3 +2952,17 @@ file-types = ["log"]
[[grammar]]
name = "log"
source = { git = "https://github.com/Tudyx/tree-sitter-log", rev = "62cfe307e942af3417171243b599cc7deac5eab9" }

[[language]]
name = "janet"
scope = "source.janet"
injection-regex = "janet"
file-types = ["janet"]
comment-token = "#"
indent = { tab-width = 2, unit = " " }
roots = []
grammar = "clojure"

[[grammar]]
name = "janet"
source = { git = "https://github.com/GrayJack/tree-sitter-janet", rev = "1d002c23d4e952ce24a2e472d0f81ab0471ceb1b" }
1 change: 1 addition & 0 deletions runtime/queries/janet/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: clojure

0 comments on commit c87ea26

Please sign in to comment.