Commit c4728178 authored by Sebastian Wiesner's avatar Sebastian Wiesner

Use standard input for SCSS

parent e88b698a
......@@ -7967,19 +7967,21 @@ See URL `http://sass-lang.com'."
:command ("scss"
"--cache-location" (eval (flycheck-sass-scss-cache-location))
(option-flag "--compass" flycheck-scss-compass)
"-c" source)
"--check" "--stdin")
:standard-input t
:error-patterns
((error line-start "Syntax error on line " line ": " (message))
(warning line-start "WARNING on line " line " of " (file-name)
":" (optional "\r") "\n" (message) line-end)
(error line-start
(or "Syntax error: " "Error: ")
(message (one-or-more not-newline)
(zero-or-more "\n"
(one-or-more " ")
(one-or-more not-newline)))
(optional "\r") "\n" (one-or-more " ") "on line " line " of " (file-name)
line-end))
(optional "\r") "\n" (one-or-more " ") "on line " line
" of standard input"
line-end)
(warning line-start "WARNING on line " line " of standard input"
":" (optional "\r") "\n" (message) line-end))
:modes scss-mode)
(flycheck-define-checker sh-bash
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment