aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/git-commit/injections.scm
blob: 2837a586589c2b80d2a5b116de5d73e041721ddc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; once a diff grammar is available, we can inject diff highlighting into the
; trailer after scissors (git commit --verbose)
; see https://github.com/helix-editor/helix/pull/1338#issuecomment-1000013539
;
; ((comment (scissors))
;  (message) @injection.content
;  (#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"))