aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Willemse2014-04-12 15:40:47 +0200
committerTom Willemse2014-04-12 17:47:29 +0200
commitfaf9cb9acfb7ccb1e91cc8a03867aa64dcc0dbb4 (patch)
tree30bcb528d4980e283f0f6ce69bcf2950a83bfd7e
parentcef305eaf955c780acb62bfe6d7bb11f1d0b130d (diff)
downloadflycheck-commit-check-faf9cb9acfb7ccb1e91cc8a03867aa64dcc0dbb4.tar.gz
flycheck-commit-check-faf9cb9acfb7ccb1e91cc8a03867aa64dcc0dbb4.zip
Update regular expressions to fit new messagesHEADmaster
-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)