summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-06-08 10:07:36 +0200
committerAlan Pearce2015-06-08 10:07:36 +0200
commitd2b814b8465d9801ad3beac76abe377ae92ee205 (patch)
treee3d368bd92837d67a16168b948edc888ba303a96 /tag-emacs
parent4afb07470aa58c32b1bed0f44c0fd3fc4caa70b1 (diff)
downloaddotfiles-d2b814b8465d9801ad3beac76abe377ae92ee205.tar.lz
dotfiles-d2b814b8465d9801ad3beac76abe377ae92ee205.tar.zst
dotfiles-d2b814b8465d9801ad3beac76abe377ae92ee205.zip
Emacs: Open nginx included files in nginx-mode
Diffstat (limited to 'tag-emacs')
-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 dfb9d5a..933ac21 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)))