summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs.d/init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 5a2430c..e154fb9 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -133,6 +133,14 @@
                 (set-fill-column 72)
                 (flyspell-mode))))
 
+(use-package make-mode
+  :config
+  (add-hook 'makefile-mode-hook
+            #'(lambda ()
+                (setq whitespace-style '(face trailing tabs))
+                (setq tab-width 2)
+                (whitespace-mode))))
+
 (use-package markdown-mode
   :commands (markdown-mode gfm-mode)
   :mode (("\\.md\\'"          . gfm-mode)