Skip to content

Commit

Permalink
Add initial support for janet-lang (helix-editor#9081)
Browse files Browse the repository at this point in the history
* Add initial support for janet-lang

* Use default roots for janet-lang
  • Loading branch information
pnelson authored and dgkf committed Jan 30, 2024
1 parent 5841666 commit 2babdbf
Show file tree
Hide file tree
Showing 3 changed files with 11 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
9 changes: 9 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2952,3 +2952,12 @@ 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 = " " }
grammar = "clojure"
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 2babdbf

Please sign in to comment.