fix(src/emacs/lean-flycheck): do not report 'sorry' warnings to flycheck, this is a temporary workaround since there is an overlap between flycheck and lean-mode type info
This commit is contained in:
parent
df51ba8b7c
commit
ea63136434
1 changed files with 6 additions and 5 deletions
|
@ -39,11 +39,12 @@
|
|||
(minimal-match
|
||||
(message (one-or-more (zero-or-more not-newline) (? "\r") "\n")))
|
||||
"FLYCHECK_END" (? "\r") line-end)
|
||||
(warning line-start "FLYCHECK_BEGIN WARNING" (? "\r") "\n"
|
||||
(file-name) ":" line ":" (? column ":") " warning: "
|
||||
(minimal-match
|
||||
(message (one-or-more (zero-or-more not-newline) (? "\r") "\n")))
|
||||
"FLYCHECK_END" (? "\r") line-end))
|
||||
;; (warning line-start "FLYCHECK_BEGIN WARNING" (? "\r") "\n"
|
||||
;; (file-name) ":" line ":" (? column ":") " warning: "
|
||||
;; (minimal-match
|
||||
;; (message (one-or-more (zero-or-more not-newline) (? "\r") "\n")))
|
||||
;; "FLYCHECK_END" (? "\r") line-end)
|
||||
)
|
||||
:modes (lean-mode)))
|
||||
(add-to-list 'flycheck-checkers 'lean-checker))
|
||||
|
||||
|
|
Loading…
Reference in a new issue