mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
- Make use of use-package's :bind option whenever possible. - Make use of use-package's :hook option whenever possible. - Rename and move all mode setup functions into use-package's :init step. - Other minor misc fixes and tweaks to a few modules.
22 lines
474 B
EmacsLisp
22 lines
474 B
EmacsLisp
;;; siren-haml.el --- jimeh's Emacs Siren: haml-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for haml-mode.
|
|
|
|
;;; Code:
|
|
|
|
(use-package haml-mode
|
|
:mode "\\.haml\\'" "\\.hamlc\\'"
|
|
:hook (haml-mode . siren-haml-mode-setup)
|
|
|
|
:init
|
|
(defun siren-haml-mode-setup ()
|
|
(siren-prog-mode-setup)
|
|
(setq tab-width 2)
|
|
(highlight-indentation-set-offset 2)
|
|
(highlight-indentation-current-column-mode)))
|
|
|
|
(provide 'siren-haml)
|
|
;;; siren-haml.el ends here
|