mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
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.
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'siren-display-indentation)
|
||||
|
||||
(use-package make-mode
|
||||
:straight (:type built-in)
|
||||
:hook
|
||||
@@ -16,6 +18,7 @@
|
||||
|
||||
(defun siren-makefile-mode-setup ()
|
||||
(subword-mode +1)
|
||||
(siren-display-indentation -1)
|
||||
(setq tab-width 4)))
|
||||
|
||||
(provide 'siren-makefile)
|
||||
|
||||
Reference in New Issue
Block a user