all repos — nixfiles @ d658978cd6d004369edef823ec6a6b0d1b2e444a

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

Emacs: enable yaml-mode for ansible (group|host)_vars files
Alan Pearce alan@alanpearce.co.uk
Sun, 03 Nov 2013 12:34:02 +0000
commit

d658978cd6d004369edef823ec6a6b0d1b2e444a

parent

0f7651cd3428226a454461de8dd883e4735d8d9a

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

jump to
M emacs/init.elemacs/init.el
@@ -629,6 +629,10 @@ (use-package ruby-mode   :mode (("\\.rb\\'" . ruby-mode)
          ("\\.cap\\'" . ruby-mode)))
 
+(use-package yaml-mode
+  :mode (("/group_vars/.*" . yaml-mode)
+         ("/host_vars/.*" . yaml-mode)))
+
 ;;;; Planning
 
 (use-package org