mirror of https://github.com/helix-editor/helix
16 lines
350 B
Scheme
16 lines
350 B
Scheme
(test
|
|
(header
|
|
(name)
|
|
(attributes
|
|
. ; skip over non-language attributes
|
|
(attribute
|
|
!language)*
|
|
. ; select only the first language attribute
|
|
(attribute
|
|
language: (parameter) @injection.language)))
|
|
(input) @injection.content)
|
|
|
|
((test
|
|
(output) @injection.content)
|
|
(#set! injection.language "tsq"))
|