branch: elpa/sass-mode commit 3494c03614f2ee162bb7ddc8667ab87b8daa44d0 Merge: 8190f29 0c54866 Author: Steve Purcell <st...@sanityinc.com> Commit: Steve Purcell <st...@sanityinc.com>
Merge pull request #15 from chee/patch-1 Make comments toggleable with M-; --- sass-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/sass-mode.el b/sass-mode.el index e5bb277..a228e7f 100644 --- a/sass-mode.el +++ b/sass-mode.el @@ -198,6 +198,7 @@ LIMIT is the limit of the search." '(font-lock-extend-region-wholelines font-lock-extend-region-multiline)) (set (make-local-variable 'font-lock-multiline) nil) (set (make-local-variable 'comment-start) "/*") + (set (make-local-variable 'comment-start-skip) "/[/*]\s*") (set (make-local-variable 'haml-indent-function) 'sass-indent-p) (set (make-local-variable 'haml-indent-offset) sass-indent-offset) (setq font-lock-defaults '(sass-font-lock-keywords t t)))