Skip to content
Browse files

Include "warn"/"error" in captured message, so they can be displayed …

…differently

Fixes #2
  • Loading branch information...
1 parent 6f04718 commit 884b3293677e892d8deae904966e4f788b2455f1 @purcell committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 flymake-coffee.el
View
2 flymake-coffee.el
@@ -27,7 +27,7 @@
("^SyntaxError: In \\([^,]+\\), \\(.+\\) on line \\([0-9]+\\)" 1 3 nil 2)
;; coffeelint
("SyntaxError: \\(.*\\) on line \\([0-9]+\\)" nil 2 nil 1)
- ("\\(.+\\),\\([0-9]+\\),\\(?:warn\\|error\\),\\(.+\\)" 1 2 nil 3)))
+ ("\\(.+\\),\\([0-9]+\\),\\(\\(warn\\|error\\),.+\\)" 1 2 nil 3)))
(defun flymake-coffee-command (filename)
"Construct a command that flymake can use to check coffeescript source."

0 comments on commit 884b329

Please sign in to comment.
Something went wrong with that request. Please try again.