👀 Missing Languages
There are several language grammars available for tree-sitter. Checked items have SPM already implemented.
* Some of them don't yet have a
highlights.scmfile included and thus syntax highlighting will not work.
- [ ] Agda*
- [x] Bash
- [x] C
- [x] C++
- [x] C#
- [x] CSS
- [ ] ERB, EJS
- [x] Go
- [ ] Haskell
- [x] HTML
- [x] Java
- [x] JavaScript/JSX
- [ ] JSDoc
- [x] JSON
- [ ] Julia*
- [ ] OCaml
- [ ] Markdown*
- [x] Plain Text
- [ ] Perl*
- [x] PHP
- [x] Python
- [ ] Regex
- [x] Ruby
- [x] Rust
- [ ] Scala
- [ ] Sql
- [x] Swift
- [ ] TOML
- [ ] TypeScript/TSX
- [ ] Verilog*
- [x] YAML*
Important to know is that some language grammars depend on another grammar to function properly (e.g.: C++ depends on the C grammar). Therefore the
highlights.scmfiles need to be concatenated when run.This can also happen when there are different flavors available (e.g: JavaScript & JSX). In this case there is an additional
highlights-jsx.scmfile located in the JavaScript's grammarqueriesfolder.
Add new Languages
In order to make it a little easier to add SPM support to grammars, I wrote an article in the documentation: Add languages
@lukepistrol, Are we planning to add kotlin? I'm willing to contribute to it
@ahmed3elshaer We should be including kotlin. We would love the contribution! Feel free to reach out to @lukepistrol in the #editor channel in our Discord server to coordinate.
@ahmed3elshaer the Kotlin grammar is still in development and does not have a highlights.scm file yet for syntax highlighting. Feel free to contribute on their repo.
@austincondiff thanks for the clarification 👍
@ahmed3elshaer the Kotlin grammar is still in development and does not have a
highlights.scmfile yet for syntax highlighting. Feel free to contribute on their repo.
I already started planning this, thanks for the referral 👌🏻