From dd6d8842f8cf99c01d8751e61c213c7d29709175 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 18 Apr 2014 12:37:22 +0100 Subject: Emacs: Use yaml-mode for sls files --- tag-emacs/emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 5094a60..e87b1b1 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -641,7 +641,8 @@ Values: `desktop', `server', `laptop'") (use-package yaml-mode :mode (("/group_vars/.*" . yaml-mode) - ("/host_vars/.*" . yaml-mode)) + ("/host_vars/.*" . yaml-mode) + ("\\.sls\\'" . yaml-mode)) :config (progn (add-hook 'yaml-mode-hook #'autopair-mode))) -- cgit 1.4.1