Update regular expressions to fit new messages

This commit is contained in:
Tom Willemse 2014-04-12 15:40:47 +02:00
parent cef305eaf9
commit faf9cb9acf

View file

@ -32,9 +32,9 @@
(flycheck-define-checker git-commit-check (flycheck-define-checker git-commit-check
"A git commit checker" "A git commit checker"
:command ("commit-check" "-0" source) :command ("commit-check" "-0" source)
:error-patterns ((error line-start "Error on line " :error-patterns ((error line-start "commit-check:"
(one-or-more digit) " (actual line " (one-or-more (not (any ":"))) ":" line ": "
line "): " (message) line-end)) (message) line-end))
:modes git-commit-mode) :modes git-commit-mode)
(add-to-list 'flycheck-checkers 'git-commit-check) (add-to-list 'flycheck-checkers 'git-commit-check)