all repos — nixfiles @ dd6d8842f8cf99c01d8751e61c213c7d29709175

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

Emacs: Use yaml-mode for sls files

Alan Pearce
commit

dd6d8842f8cf99c01d8751e61c213c7d29709175

parent

57a8f58c4a2eb790eb5f37f059f27ce04a8a228d

1 file changed, 2 insertions(+), 1 deletion(-)

jump to
M tag-emacs/emacs.d/init.eltag-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)))