summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-06-08 10:07:36 +0200
committerAlan Pearce2015-06-08 10:07:36 +0200
commitd2b814b8465d9801ad3beac76abe377ae92ee205 (patch)
treee3d368bd92837d67a16168b948edc888ba303a96
parent4afb07470aa58c32b1bed0f44c0fd3fc4caa70b1 (diff)
downloadnixfiles-d2b814b8465d9801ad3beac76abe377ae92ee205.tar.lz
nixfiles-d2b814b8465d9801ad3beac76abe377ae92ee205.tar.zst
nixfiles-d2b814b8465d9801ad3beac76abe377ae92ee205.zip
Emacs: Open nginx included files in nginx-mode
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index dfb9d5a5..933ac21c 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -791,6 +791,8 @@ mouse-1: Display Line and Column Mode Menu"))))))
 
 (req-package nginx-mode
   :defer t
+  :mode (("/nginx/servers/" . nginx-mode)
+         ("/nginx/.*\\.d/" . nginx-mode))
   :config (progn
             (setq nginx-indent-tabs-mode t)))