mirror of
https://github.com/helix-editor/helix.git
synced 2024-12-18 22:11:55 +04:00
9a80f7203d
Signed-off-by: Pascal Eberhard <pascal.eberhard@se.com>
19 lines
559 B
Scheme
19 lines
559 B
Scheme
((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"))
|