aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-09-19 14:35:04 +0200
committerGravatar Tom Willemse2016-09-19 14:35:04 +0200
commit5a31a640f5824949ee4510cd4e4be6fe89b62de8 (patch)
treef5267c5d63b67faca9e49c12b6994712162d8720
parent66e39655498d46f908fc10664587e7cbe1f7d47e (diff)
downloadnew-dotfiles-5a31a640f5824949ee4510cd4e4be6fe89b62de8.tar.gz
new-dotfiles-5a31a640f5824949ee4510cd4e4be6fe89b62de8.zip
Show tabs in Makefiles
-rw-r--r--emacs/.emacs.d/init.org10
1 files changed, 10 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 9cf6fd2..ca9b931 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -667,6 +667,16 @@ To start off, first I need to enable lexical binding.
(add-hook 'web-mode-hook 'oni-whitespace-only-tabs-mode)
#+END_SRC
+** Makefile
+
+ Show tabs in Makefiles. Tabs are required at the beginning of any
+ non-continuation line in a recipe. I don't use it for indenting,
+ however.
+
+ #+BEGIN_SRC emacs-lisp
+ (add-hook 'makefile-mode-hook 'oni-whitespace-only-tabs-mode)
+ #+END_SRC
+
* Applications
** Magit