You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-syntax
Michael Daffin f83843ceba
Add kotlin language (#1689)
* Add kotlin language

Queries taken from https://github.com/nvim-treesitter/nvim-treesitter/blob/master/queries/kotlin seem to work well enough for my needs though I don't use kotlin heavily.

* Update lang-support doc

* Updates the kotlin highlight query to use helixs scopes

* Updates the queries from PR feedback

* Adds 'shallow = true' to gitmodules

* Removes kotlin locals.scm

* Remove blank line

Co-authored-by: Ivan Tham <pickfire@riseup.net>

Co-authored-by: Ivan Tham <pickfire@riseup.net>
3 years ago
..
languages Add kotlin language (#1689) 3 years ago
src Simplify replace dashes with underscore 3 years ago
Cargo.toml Release 0.6 3 years ago
README.md Add README for helix-syntax (#1312) 3 years ago
build.rs Upgrade and reenable tree-sitter-haskell 3 years ago

README.md

helix-syntax

Syntax highlighting for helix, (shallow) submodules resides here.

Differences from nvim-treesitter

As the syntax are commonly ported from https://github.com/nvim-treesitter/nvim-treesitter.

Note that we do not support the custom #any-of predicate which is supported by neovim so one needs to change it to #match with regex.