summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-11-03 12:34:02 +0000
committerAlan Pearce2013-11-03 12:34:02 +0000
commitd658978cd6d004369edef823ec6a6b0d1b2e444a (patch)
treec797d5c892242d0ad79cabfd0758d2484dc6b591
parent0f7651cd3428226a454461de8dd883e4735d8d9a (diff)
downloadnixfiles-d658978cd6d004369edef823ec6a6b0d1b2e444a.tar.lz
nixfiles-d658978cd6d004369edef823ec6a6b0d1b2e444a.tar.zst
nixfiles-d658978cd6d004369edef823ec6a6b0d1b2e444a.zip
Emacs: enable yaml-mode for ansible (group|host)_vars files
-rw-r--r--emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index a254dd86..3bed12a5 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -629,6 +629,10 @@ Values: `desktop', `server', `laptop'")
   :mode (("\\.rb\\'" . ruby-mode)
          ("\\.cap\\'" . ruby-mode)))
 
+(use-package yaml-mode
+  :mode (("/group_vars/.*" . yaml-mode)
+         ("/host_vars/.*" . yaml-mode)))
+
 ;;;; Planning
 
 (use-package org