Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/bitbake/injections.scm')
| -rw-r--r-- | runtime/queries/bitbake/injections.scm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/queries/bitbake/injections.scm b/runtime/queries/bitbake/injections.scm new file mode 100644 index 00000000..adae990e --- /dev/null +++ b/runtime/queries/bitbake/injections.scm @@ -0,0 +1,18 @@ +((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")) |