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-plus/helix-syntax
Michael Davis a8fd33ac01
add tree-sitter-regex (#1362)
* add tree-sitter-regex

* adapt regex highlights from upstream

* inject regex into elixir sigil_r/2 and sigil_R/2

* generate lang-support docs

* capture interesting nodes in character-ranges

* make $.character_class captures more consistent

* fix fallthrough behavior for character classes

* capture pattern characters as 'string'

* use latest tree-sitter-regex

* set elixir regex injections as combined

* add link to upstream queries

* inject regex in rust into 'Regex::new' raw string literals
3 years ago
..
languages add tree-sitter-regex (#1362) 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 Improve build error when a new grammar was added 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.