diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index ed4014e308f1..1fad1017e3ea 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -73,6 +73,7 @@ | idris | | | | `idris2-lsp` | | iex | ✓ | | | | | ini | ✓ | | | | +| janet | ✓ | | | | | java | ✓ | ✓ | ✓ | `jdtls` | | javascript | ✓ | ✓ | ✓ | `typescript-language-server` | | jinja | ✓ | | | | diff --git a/languages.toml b/languages.toml index 7f1c6b769fad..8beaf75142df 100644 --- a/languages.toml +++ b/languages.toml @@ -2952,3 +2952,13 @@ 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" diff --git a/runtime/queries/janet/highlights.scm b/runtime/queries/janet/highlights.scm new file mode 100644 index 000000000000..a036368a1208 --- /dev/null +++ b/runtime/queries/janet/highlights.scm @@ -0,0 +1 @@ +; inherits: clojure