mirror of https://github.com/helix-editor/helix
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.
24 lines
506 B
Scheme
24 lines
506 B
Scheme
((comment) @injection.content
|
|
(#set! injection.language "comment"))
|
|
|
|
((heredoc_body
|
|
(heredoc_content) @injection.content
|
|
(heredoc_end) @name
|
|
(#set! injection.language "sql"))
|
|
(#eq? @name "SQL"))
|
|
|
|
((heredoc_body
|
|
(heredoc_content) @injection.content
|
|
(heredoc_end) @name
|
|
(#set! injection.language "graphql"))
|
|
(#any-of? @name
|
|
"GQL"
|
|
"GRAPHQL"))
|
|
|
|
((heredoc_body
|
|
(heredoc_content) @injection.content
|
|
(heredoc_end) @name
|
|
(#set! injection.language "erb"))
|
|
(#eq? @name "ERB"))
|
|
|