There are several language grammars available for tree-sitter. Checked items have SPM already implemented.
Supported languages
See the following section in the README:
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.scm files 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.scm file located in the JavaScript's grammar queries folder.
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
There are several
language grammarsavailable fortree-sitter. Checked items have SPM already implemented.Supported languages
See the following section in the README:
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