branch: elpa/sass-mode commit 0c54866a98e908e91021a0a6a09062f25ea8bfc5 Author: chee rabbits <c...@snaek.org> Commit: chee <c...@snaek.org>
Make comments toggleable with M-; Huzzah, now we can use `(comment-or-uncomment-region)` to *toggle* our comments in sass-mode --- 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)))