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