You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A collection of tree-sitter languages for syntax highlighting.
Overview
This package includes a binary framework CodeLanguagesContainer.xcframework which bundles all tree-sitter languages in a single binary to greatly reduce SPM package resolution times.
The documentation including a guide on how to add support for new languages can be found here!
Supported Languages
There are several language grammars available for tree-sitter. Many of them are already supported in CodeEditLanguages. In order to use syntax-highlighting with those grammars, they need to supply a highlights.scm file. Grammars for which this file does not exist yet, are marked with not available below. This file has to be added to the grammar's repo directly.
In order to add support for additional languages we have a complete guide on how to implement them in CodeEditLanguages available here.
If you want to add support for another language, please file an issue first, so everyone knows that this is in progress.