diff options
author | Tom Willemse | 2014-04-12 15:40:47 +0200 |
---|---|---|
committer | Tom Willemse | 2014-04-12 17:47:29 +0200 |
commit | faf9cb9acfb7ccb1e91cc8a03867aa64dcc0dbb4 (patch) | |
tree | 30bcb528d4980e283f0f6ce69bcf2950a83bfd7e | |
parent | cef305eaf955c780acb62bfe6d7bb11f1d0b130d (diff) | |
download | flycheck-commit-check-faf9cb9acfb7ccb1e91cc8a03867aa64dcc0dbb4.tar.gz flycheck-commit-check-faf9cb9acfb7ccb1e91cc8a03867aa64dcc0dbb4.zip |
-rw-r--r-- | flycheck-commit-check.el | 6 |
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) |