nix-config/modules/home/vim/after/queries/gitcommit/highlights.scm
Bruno BELANYI ec1c94676a
All checks were successful
ci/woodpecker/push/check Pipeline was successful
home: vim: highlight over-extended commit subjects
2025-04-22 13:15:04 +00:00

6 lines
192 B
Scheme

; extends
; Highlight over-extended subject lines (rely on wrapping for message body)
((subject) @comment.error
(#vim-match? @comment.error ".\{50,}")
(#offset! @comment.error 0 50 0 0))