Files
.emacs.d/modules/languages/siren-makefile.el
Jim Myhrberg 192499a67b fix(lang): disable indentation highlights for Makefiles
The highlight-indent-guides package seems to have a cursor movement bug
with some modes, and makefile-mode is one of them.

Also Makefiles are tab indented, and the indentation highlight replaces
the tab character symbol, making it difficult to properly understand the
indentation level.
2020-10-27 13:13:15 +00:00

26 lines
542 B
EmacsLisp

;;; siren-makefile.el --- jimeh's Emacs Siren: makefile-mode configuration.
;;; Commentary:
;; Basic configuration for makefile-mode.
;;; Code:
(require 'siren-display-indentation)
(use-package make-mode
:straight (:type built-in)
: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)
(siren-display-indentation -1)
(setq tab-width 4)))
(provide 'siren-makefile)
;;; siren-makefile.el ends here