mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 10:56:19 +04:00
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"))
|
|
|