Emacs: Use yaml-mode for sls files
Alan Pearce alan@alanpearce.co.uk
Fri, 18 Apr 2014 12:37:22 +0100
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -641,7 +641,8 @@ ("\\.cap\\'" . ruby-mode))) (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)))