fix(emacs/lean-flycheck): fix error/warning pattern to work on windows
This commit is contained in:
parent
3ca1264f61
commit
d5e77c05cb
1 changed files with 2 additions and 2 deletions
|
@ -43,12 +43,12 @@
|
|||
(file-name) ":" line ":" (? column ":") " error: "
|
||||
(minimal-match
|
||||
(message (one-or-more (one-or-more not-newline) (? "\r") "\n")))
|
||||
"FLYCHECK_END" line-end)
|
||||
"FLYCHECK_END" (? "\r") line-end)
|
||||
(warning line-start "FLYCHECK_BEGIN WARNING" (? "\r") "\n"
|
||||
(file-name) ":" line ":" (? column ":") " warning "
|
||||
(minimal-match
|
||||
(message (one-or-more (one-or-more not-newline) (? "\r") "\n")))
|
||||
"FLYCHECK_END" line-end))
|
||||
"FLYCHECK_END" (? "\r") line-end))
|
||||
:modes (lean-mode)))
|
||||
(add-to-list 'flycheck-checkers 'lean-checker))
|
||||
|
||||
|
|
Loading…
Reference in a new issue