From d658978cd6d004369edef823ec6a6b0d1b2e444a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 3 Nov 2013 12:34:02 +0000 Subject: Emacs: enable yaml-mode for ansible (group|host)_vars files --- emacs/init.el | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit 1.4.1