summaryrefslogtreecommitdiff
path: root/runtime/queries/git-commit/injections.scm
blob: bd96f1de31d5728fcc22bc361209b0c93b8f9d87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
((comment (scissors))
 (message) @injection.content
 (#set! injection.include-children)
 (#set! injection.language "diff"))

; once a rebase grammar is available, we can inject rebase highlighting into
; interactive rebase summary sections like so:
;
; ((rebase_command) @injection.content
;  (#set! injection.language "git-rebase"))