Update regular expressions to fit new messages
This commit is contained in:
parent
cef305eaf9
commit
faf9cb9acf
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue