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
568 B
EmacsLisp
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
|