Add support for custom arguments to sass
Closed this issue · 2 comments
haxney commented
I use SCSS with the compass framework, and so need to pass the --compass
option to the sass
executable. I added a defcustom
for scss-sass-options
to my local file with a list of arguments like so:
(defcustom scss-sass-options '("--compass" "-v" "--cache-location '/tmp/.sass-cache'")
"Options for SCSS"
:group 'scss)
I had to change scss-compile
to include (mapconcat 'identity scss-sass-options " ")
and flymake-scss-init
to include (append scss-sass-options (list "--scss" "--check" local-file))
. This seems to work properly with the options I gave it.
antonj commented
Thanks, I'll try to add this soon. Would you like to create a pull request? Default scss-sass-options should probably by empty '()