From 0f39b4f25a41a6f0de7a9cdab9cbc773e4768b0d Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Thu, 11 Dec 2008 15:13:24 -0800 Subject: [PATCH] [Emacs] Add support for comments. --- extra/haml-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/extra/haml-mode.el b/extra/haml-mode.el index 48dc1a98..1c40efc1 100644 --- a/extra/haml-mode.el +++ b/extra/haml-mode.el @@ -149,6 +149,7 @@ text nested beneath them.") (set (make-local-variable 'indent-line-function) 'haml-indent-line) (set (make-local-variable 'indent-region-function) 'haml-indent-region) (set (make-local-variable 'parse-sexp-lookup-properties) t) + (setq comment-start "-#") (setq indent-tabs-mode nil) (setq font-lock-defaults '((haml-font-lock-keywords) nil t)))