mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
- Switch from highlight-indentation package to highlight-indent-guides. - Activate visual indentation in a prog-mode hook, rather than doing within each individual major mode. It was already done within all major modes based on prog-mode anyway. - Add new siren-display-indetation module and function as a central way to enable visual indetation guides. This makes switching the underlying package at some point in the future much easier.
23 lines
485 B
EmacsLisp
23 lines
485 B
EmacsLisp
;;; siren-makefile.el --- jimeh's Emacs Siren: makefile-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for makefile-mode.
|
|
|
|
;;; Code:
|
|
|
|
(use-package make-mode
|
|
:ensure nil ;; loaded from emacs built-ins
|
|
:hook
|
|
(makefile-mode . siren-makefile-mode-setup)
|
|
|
|
:init
|
|
(add-to-list 'siren-indent-sensitive-modes 'makefile-mode)
|
|
|
|
(defun siren-makefile-mode-setup ()
|
|
(subword-mode +1)
|
|
(setq tab-width 4)))
|
|
|
|
(provide 'siren-makefile)
|
|
;;; siren-makefile.el ends here
|