Skip to content

Commit 95ebcb1

Browse files
authored
Merge pull request #11 from lukepistrol/main
update readme
2 parents ec130e3 + 8adfbd0 commit 95ebcb1

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,51 @@ This package heavily depends on [SwiftTreeSitter](https://github.com/ChimeHQ/Swi
3737

3838
The documentation including a guide on how to add support for new languages can be found **[here](https://codeeditapp.github.io/CodeEditLanguages/documentation/codeeditlanguages)**!
3939

40+
## Supported Languages
41+
42+
There are several [language grammars](https://tree-sitter.github.io/tree-sitter/#available-parsers) available for [tree-sitter](https://tree-sitter.github.io/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.
43+
44+
In order to add support for additional languages we have a complete guide on how to implement them in `CodeEditLanguages` available [here](https://codeeditapp.github.io/CodeEditLanguages/documentation/codeeditlanguages/add-languages/).
45+
46+
> If you want to add support for another language, please file an [issue](https://github.com/CodeEditApp/CodeEditLanguages/issues/new/choose) first, so everyone knows that this is in progress.
47+
48+
| Grammar | Implemented | Syntax Highlighting |
49+
| -------------- | ----------- | ------------------- |
50+
| [Agda](https://github.com/tree-sitter/tree-sitter-agda) | | _not available_ |
51+
| [Bash](https://github.com/lukepistrol/tree-sitter-bash) |||
52+
| [C](https://github.com/tree-sitter/tree-sitter-c) |||
53+
| [C++](https://github.com/tree-sitter/tree-sitter-cpp) |||
54+
| [C#](https://github.com/tree-sitter/tree-sitter-c-sharp) |||
55+
| [CSS](https://github.com/lukepistrol/tree-sitter-css) |||
56+
| [Elixir](https://github.com/elixir-lang/tree-sitter-elixir) |||
57+
| [ERB, EJS](https://github.com/tree-sitter/tree-sitter-embedded-template) | | |
58+
| [Go](https://github.com/tree-sitter/tree-sitter-go) |||
59+
| [Haskell](https://github.com/tree-sitter/tree-sitter-haskell) |||
60+
| [HTML](https://github.com/mattmassicotte/tree-sitter-html) |||
61+
| [Java](https://github.com/tree-sitter/tree-sitter-java) |||
62+
| [JavaScript/JSX](https://github.com/tree-sitter/tree-sitter-javascript) |||
63+
| [JSDoc](https://github.com/tree-sitter/tree-sitter-jsdoc) | | |
64+
| [JSON](https://github.com/mattmassicotte/tree-sitter-json) |||
65+
| [Julia](https://github.com/tree-sitter/tree-sitter-julia) | | _not available_ |
66+
| [Kotlin](https://github.com/fwcd/tree-sitter-kotlin) | | _not available_ |
67+
| [Markdown](https://github.com/ikatyang/tree-sitter-markdown) | | _not available_ |
68+
| [OCaml](https://github.com/tree-sitter/tree-sitter-ocaml) | | |
69+
| Plain Text || _not available_ |
70+
| [Perl](https://github.com/ganezdragon/tree-sitter-perl) | | _not available_ |
71+
| [PHP](https://github.com/tree-sitter/tree-sitter-php) |||
72+
| [Python](https://github.com/lukepistrol/tree-sitter-python) |||
73+
| [Regex](https://github.com/tree-sitter/tree-sitter-regex) | | |
74+
| [Ruby](https://github.com/mattmassicotte/tree-sitter-ruby) |||
75+
| [Rust](https://github.com/tree-sitter/tree-sitter-rust) |||
76+
| [Scala](https://github.com/tree-sitter/tree-sitter-scala) | | |
77+
| [Sql](https://github.com/m-novikov/tree-sitter-sql) | | |
78+
| [Swift](https://github.com/mattmassicotte/tree-sitter-swift) |||
79+
| [TOML](https://github.com/ikatyang/tree-sitter-toml) | | |
80+
| [TypeScript/](https://github.com/tree-sitter/tree-sitter-typescript) | | |
81+
| [Verilog](https://github.com/tree-sitter/tree-sitter-verilog) | | _not available_ |
82+
| [YAML](https://github.com/mattmassicotte/tree-sitter-yaml) || _not available_ |
83+
| [Zig](https://github.com/maxxnino/tree-sitter-zig) |||
84+
4085
## Related Repositories
4186

4287
<table>

0 commit comments

Comments
 (0)