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.
19 lines
559 B
Scheme
19 lines
559 B
Scheme
8 months ago
|
((python_function_definition) @injection.content
|
||
|
(#set! injection.language "python")
|
||
|
(#set! injection.include-children))
|
||
|
|
||
|
((anonymous_python_function (block) @injection.content)
|
||
|
(#set! injection.language "python")
|
||
|
(#set! injection.include-children))
|
||
|
|
||
|
((inline_python) @injection.content
|
||
|
(#set! injection.language "python")
|
||
|
(#set! injection.include-children))
|
||
|
|
||
|
((function_definition) @injection.content
|
||
|
(#set! injection.language "bash")
|
||
|
(#set! injection.include-children))
|
||
|
|
||
|
((comment) @injection.content
|
||
|
(#set! injection.language "comment"))
|