all repos — archive/dotfiles @ d03c4dcd2afc75d6b906c780a009a3ea4e306c7d

Superseded by nixfiles

Emacs: enable tabs in nginx configuration
Alan Pearce alan@alanpearce.co.uk
Sat, 14 Jun 2014 19:11:05 +0100
commit

d03c4dcd2afc75d6b906c780a009a3ea4e306c7d

parent

f6fe893a827377c6c314db8f0745ea42b2c267e3

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -513,7 +513,9 @@ :mode (("\\.hs\\'" . haskell-mode)          ("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)))