summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-06-14 19:11:05 +0100
committerAlan Pearce2014-06-14 19:11:05 +0100
commitd03c4dcd2afc75d6b906c780a009a3ea4e306c7d (patch)
treeca705ba23aacc1f9d33240d38b354c1997757835 /tag-emacs
parentf6fe893a827377c6c314db8f0745ea42b2c267e3 (diff)
downloadnixfiles-d03c4dcd2afc75d6b906c780a009a3ea4e306c7d.tar.lz
nixfiles-d03c4dcd2afc75d6b906c780a009a3ea4e306c7d.tar.zst
nixfiles-d03c4dcd2afc75d6b906c780a009a3ea4e306c7d.zip
Emacs: enable tabs in nginx configuration
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index f7b8d471..ebf40232 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -513,7 +513,9 @@
          ("xmobarrc\\'" . haskell-mode)))
 
 (req-package nginx-mode
-  :mode (("nginx.conf" . nginx-mode)))
+  :mode (("nginx.conf" . nginx-mode))
+  :config (progn
+            (setq nginx-indent-tabs-mode t)))
 
 (req-package lua-mode
   :mode (("\\.lua\\'" . lua-mode)))