helix-mods/helix-syntax
Sebastian Neubauer 641255ccc8
Add llvm-mir highlighting (#1398)
* Add injection regex for more languages

To support embedding them in other languages like markdown.

* Add llvm-mir highlighting

LLVM Machine IR is dumped as yaml files that can embed LLVM IR and
Machine IR.

To support this, add a llvm-mir-yaml language that uses the yaml
parser, but uses different injections to highlight IR and MIR.

* Update submodule with fixed multiline comments

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2022-01-04 10:52:34 +09:00
..
languages Add llvm-mir highlighting (#1398) 2022-01-04 10:52:34 +09:00
src Simplify replace dashes with underscore 2021-07-23 18:37:41 +09:00
build.rs Improve build error when a new grammar was added 2021-09-06 15:25:46 +09:00
Cargo.toml Release v0.5.0 2021-10-28 16:41:34 +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.