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/runtime/queries/llvm-mir-yaml/injections.scm

10 lines
327 B
Scheme

; inherits: yaml
((document (block_node (block_scalar) @injection.content))
(#set! injection.language "llvm"))
((document (block_node (block_mapping (block_mapping_pair
key: (flow_node (plain_scalar (string_scalar))) ; "body"
value: (block_node (block_scalar) @injection.content)))))
(#set! injection.language "mir"))