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
1 changed files with 3 additions and 3 deletions

View File

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