Files
.emacs.d/modules/siren-gitconfig.el
Jim Myhrberg a32cf8b132 Big refactor of modules and their use of use-package
- 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.
2018-04-20 10:29:45 +01:00

24 lines
568 B
EmacsLisp

;;; siren-gitconfig.el --- jimeh's Emacs Siren: gitconfig-mode configuration.
;;; Commentary:
;; Basic configuration for gitconfig-mode.
;;; Code:
(require 'siren-programming)
(use-package gitconfig-mode
:mode "\\.gitconfig" "gitconfig\\'" "\\.git\\\/config"
:hook (gitconfig-mode . siren-gitconfig-mode-setup)
:init
(defun siren-gitconfig-mode-setup ()
(siren-prog-mode-setup)
(setq tab-width 2)
(highlight-indentation-current-column-mode)
(run-hooks 'siren-prog-mode-hook)))
(provide 'siren-gitconfig)
;;; siren-gitconfig.el ends here