diff options
author | Alan Pearce | 2015-06-08 10:07:36 +0200 |
---|---|---|
committer | Alan Pearce | 2015-06-08 10:07:36 +0200 |
commit | d2b814b8465d9801ad3beac76abe377ae92ee205 (patch) | |
tree | e3d368bd92837d67a16168b948edc888ba303a96 /tag-emacs/emacs.d/init.el | |
parent | 4afb07470aa58c32b1bed0f44c0fd3fc4caa70b1 (diff) | |
download | nixfiles-d2b814b8465d9801ad3beac76abe377ae92ee205.tar.lz nixfiles-d2b814b8465d9801ad3beac76abe377ae92ee205.tar.zst nixfiles-d2b814b8465d9801ad3beac76abe377ae92ee205.zip |
Emacs: Open nginx included files in nginx-mode
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 2 |
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))) |