on master help sign in
Add initial support for janet-lang (#9081)

* Add initial support for janet-lang * Use default roots for janet-lang

commitb4571c292e76382f98266322a025c6383bd02f30 authorPhil <me@pnelson.ca> dateFri 15 Dec 2023, 06:54 (3 years ago) parent437fbee
3 files changed+11
book/src/generated/lang-support.md+1 languages.toml+9 runtime/queries/janet/highlights.scm+1
book/src/generated/lang-support.md+1
@@ -73,6 +73,7 @@
7373| idris | | | | `idris2-lsp` |
7474| iex | ✓ | | | |
7575| ini | ✓ | | | |
76+| janet | ✓ | | | |
7677| java | ✓ | ✓ | ✓ | `jdtls` |
7778| javascript | ✓ | ✓ | ✓ | `typescript-language-server` |
7879| jinja | ✓ | | | |
languages.toml+9
@@ -2952,3 +2952,12 @@ file-types = ["log"]
29522952[[grammar]]
29532953name = "log"
29542954source = { git = "https://github.com/Tudyx/tree-sitter-log", rev = "62cfe307e942af3417171243b599cc7deac5eab9" }
2955+
2956+[[language]]
2957+name = "janet"
2958+scope = "source.janet"
2959+injection-regex = "janet"
2960+file-types = ["janet"]
2961+comment-token = "#"
2962+indent = { tab-width = 2, unit = " " }
2963+grammar = "clojure"
runtime/queries/janet/highlights.scmnew file+1
@@ -0,0 +1 @@
1+; inherits: clojure