all repos — nixfiles @ d2b814b8465d9801ad3beac76abe377ae92ee205

System and user configuration, managed by nix and home-manager

Emacs: Open nginx included files in nginx-mode
Alan Pearce alan.pearce@spotcap.com
Mon, 08 Jun 2015 10:07:36 +0200
commit

d2b814b8465d9801ad3beac76abe377ae92ee205

parent

4afb07470aa58c32b1bed0f44c0fd3fc4caa70b1

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -791,6 +791,8 @@ (add-to-list 'auto-mode-alist '("xmonad.hs\\'" . xmonad-mode)) 
 (req-package nginx-mode
   :defer t
+  :mode (("/nginx/servers/" . nginx-mode)
+         ("/nginx/.*\\.d/" . nginx-mode))
   :config (progn
             (setq nginx-indent-tabs-mode t)))