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:
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.
I use SCSS with the compass framework, and so need to pass the
--compass
option to thesass
executable. I added adefcustom
forscss-sass-options
to my local file with a list of arguments like so:I had to change
scss-compile
to include(mapconcat 'identity scss-sass-options " ")
andflymake-scss-init
to include(append scss-sass-options (list "--scss" "--check" local-file))
. This seems to work properly with the options I gave it.