Skip to content

kaznum/scss-mode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

SCSS Mode for Emacs

Major mode for editing SCSS files in Emacs.

Features

  • Compilation of current file on save. (Disable by changing scss-compile-at-save to nil)
  • Flymake support, enable with M-x flymake-mode
  • Indentation and highlighting (Derived from CSS-mode)
  • Syntax highlighting for variables and inline comments.

    http://i.imgur.com/Wdokb.png

    http://i.imgur.com/9ed6X.png

Installation

Command line utility sass is required, http://sass-lang.com/. Make sure sass location is in emacs PATH, example:

(setq exec-path (cons (expand-file-name "~/.gem/ruby/1.8/bin") exec-path))

Or customize scss-sass-command to point directly to your sass executable.

Add something like this to your emacs load file:

(add-to-list 'load-path (expand-file-name "~/.emacs.d/folder-where-you-put-scss-mode-el"))
(autoload 'scss-mode "scss-mode")
(add-to-list 'auto-mode-alist '("\\.scss\\'" . scss-mode))

About

Emacs mode for SCSS files (http://sass-lang.com)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%