Skip to content

Commit

Permalink
Fix Eruby checker not works on web-mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
zw963 committed Aug 19, 2021
1 parent 21d5226 commit 75ad52d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flycheck.el
Original file line number Diff line number Diff line change
Expand Up @@ -8919,7 +8919,7 @@ See URL `http://www.kuwata-lab.com/erubis/'."
:command ("erubis" "-z" source)
:error-patterns
((error line-start (file-name) ":" line ": " (message) line-end))
:modes (html-erb-mode rhtml-mode)
:modes (html-erb-mode rhtml-mode web-mode)
:next-checkers ((warning . eruby-ruumba)))

(flycheck-def-config-file-var flycheck-ruumbarc eruby-ruumba ".ruumba.yml")
Expand Down Expand Up @@ -8960,7 +8960,7 @@ See URL `https://github.com/ericqweinstein/ruumba'."
(error line-start (file-name) ":" line ":" column ": " (or "E" "F") ": "
(optional (id (one-or-more (not (any ":")))) ": ") (message)
line-end))
:modes (html-erb-mode rhtml-mode))
:modes (html-erb-mode rhtml-mode web-mode))

(flycheck-def-args-var flycheck-gfortran-args fortran-gfortran
:package-version '(flycheck . "0.22"))
Expand Down

0 comments on commit 75ad52d

Please sign in to comment.