mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +04:00
fd7080498e
* tree sitter comments injections * trailing newlines & julia fix * Update runtime/queries/julia/injections.scm Co-authored-by: Michael Davis <michael.davis@nfiindustries.com> Co-authored-by: Michael Davis <michael.davis@nfiindustries.com>
21 lines
499 B
Scheme
21 lines
499 B
Scheme
(directive_attribute
|
|
(directive_name) @keyword
|
|
(quoted_attribute_value
|
|
(attribute_value) @injection.content)
|
|
(#set! injection.language "javascript"))
|
|
|
|
((interpolation
|
|
(raw_text) @injection.content)
|
|
(#set! injection.language "javascript"))
|
|
|
|
((script_element
|
|
(raw_text) @injection.content)
|
|
(#set! injection.language "javascript"))
|
|
|
|
((style_element
|
|
(raw_text) @injection.content)
|
|
(#set! injection.language "css"))
|
|
|
|
((comment) @injection.content
|
|
(#set! injection.language "comment"))
|