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.
24 lines
516 B
EmacsLisp
24 lines
516 B
EmacsLisp
;;; siren-conf.el --- jimeh's Emacs Siren: conf-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for conf-mode.
|
|
|
|
;;; Code:
|
|
|
|
(require 'siren-programming)
|
|
|
|
(use-package conf-mode
|
|
:mode "Procfile\\'" "\\.conf\\'" "\\.cfg\\'"
|
|
:hook (conf-mode . siren-conf-mode-setup)
|
|
|
|
:init
|
|
(defun siren-conf-mode-setup ()
|
|
(siren-prog-mode-setup)
|
|
(setq tab-width 2)
|
|
(highlight-indentation-set-offset 2)
|
|
(highlight-indentation-current-column-mode)))
|
|
|
|
(provide 'siren-conf)
|
|
;;; siren-conf.el ends here
|