Skip to content

Commit

Permalink
add commented-out diff injection queries
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Dec 24, 2021
1 parent 8fc6995 commit bb8f2da
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions runtime/queries/gitcommit/injections.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
; 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"))

0 comments on commit bb8f2da

Please sign in to comment.