Created
October 20, 2010 03:53
-
-
Save aaroncampos/635734 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Code-folding for HAML mode | |
(add-hook 'haml-mode-hook 'hs-minor-mode) | |
(setq hs-special-modes-alist | |
(cons (list | |
'haml-mode "[#.%]" "\n" "/" | |
(lambda (arg) | |
(haml-forward-sexp) | |
(move-beginning-of-line 1)) | |
nil) hs-special-modes-alist)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment