aboutsummaryrefslogtreecommitdiffstats
path: root/flycheck-commit-check.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-04-12 15:40:47 +0200
committerGravatar Tom Willemse2014-04-12 17:47:29 +0200
commitfaf9cb9acfb7ccb1e91cc8a03867aa64dcc0dbb4 (patch)
tree30bcb528d4980e283f0f6ce69bcf2950a83bfd7e /flycheck-commit-check.el
parentcef305eaf955c780acb62bfe6d7bb11f1d0b130d (diff)
downloadflycheck-commit-check-master.tar.gz
flycheck-commit-check-master.zip
Update regular expressions to fit new messagesHEADmaster
Diffstat (limited to 'flycheck-commit-check.el')
-rw-r--r--flycheck-commit-check.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/flycheck-commit-check.el b/flycheck-commit-check.el
index 1dcd979..907f7c4 100644
--- a/flycheck-commit-check.el
+++ b/flycheck-commit-check.el
@@ -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)