From d2b814b8465d9801ad3beac76abe377ae92ee205 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 8 Jun 2015 10:07:36 +0200 Subject: Emacs: Open nginx included files in nginx-mode --- tag-emacs/emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tag-emacs') 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))) -- cgit 1.4.1