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>
This commit is contained in:
Sebastian Neubauer 2022-01-04 02:52:34 +01:00 committed by GitHub
parent 7c9d3682db
commit 641255ccc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 203 additions and 3 deletions

View file

@ -0,0 +1,2 @@
((comment) @injection.content
(#set! injection.language "comment"))