summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-05-18 12:47:22 +0100
committerAlan Pearce2013-05-18 12:47:22 +0100
commit185c5978fe924b157214975b21042bb1bf94fa51 (patch)
treef4c0851a82d982f50ede00f4dae2c0e410e33ec2 /emacs
parent222b741e5ed8893f870efa91bb89b7b219e8d80f (diff)
downloadnixfiles-185c5978fe924b157214975b21042bb1bf94fa51.tar.lz
nixfiles-185c5978fe924b157214975b21042bb1bf94fa51.tar.zst
nixfiles-185c5978fe924b157214975b21042bb1bf94fa51.zip
Emacs: add setup for nginx-mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 6056b7d0..6e34426b 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -530,6 +530,10 @@ Values: `desktop', `server', `laptop'")
   :mode (("\\.hs\\'" . haskell-mode)
          ("xmobarrc\\'" . haskell-mode)))
 
+(use-package nginx-mode
+  :ensure t
+  :mode (("nginx.conf" . nginx-mode)))
+
 (use-package lua-mode
   :mode (("\\.lua\\'" . lua-mode)))