aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/git-commit/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/git-commit/injections.scm')
-rw-r--r--runtime/queries/git-commit/injections.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/queries/git-commit/injections.scm b/runtime/queries/git-commit/injections.scm
new file mode 100644
index 00000000..cf0657f7
--- /dev/null
+++ b/runtime/queries/git-commit/injections.scm
@@ -0,0 +1,8 @@
+((comment (scissors))
+ (message) @injection.content
+ (#set! injection.include-children)
+ (#set! injection.language "diff"))
+
+((rebase_command) @injection.content
+ (#set! injection.include-children)
+ (#set! injection.language "git-rebase"))