helix-mods/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>
2022-02-23 23:25:44 +09:00
..
languages Add kotlin language (#1689) 2022-02-23 23:25:44 +09:00
src Simplify replace dashes with underscore 2021-07-23 18:37:41 +09:00
build.rs Upgrade and reenable tree-sitter-haskell 2022-01-09 00:28:56 +09:00
Cargo.toml Release 0.6 2022-01-04 18:54:37 +09:00
README.md Add README for helix-syntax (#1312) 2021-12-21 12:38:32 +09:00

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.