summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-04-18 12:37:22 +0100
committerAlan Pearce2014-04-18 12:37:22 +0100
commitdd6d8842f8cf99c01d8751e61c213c7d29709175 (patch)
treeaa17f37f57d5df30bd7575ac1af9dc4edfb80700 /tag-emacs
parent57a8f58c4a2eb790eb5f37f059f27ce04a8a228d (diff)
downloadnixfiles-dd6d8842f8cf99c01d8751e61c213c7d29709175.tar.lz
nixfiles-dd6d8842f8cf99c01d8751e61c213c7d29709175.tar.zst
nixfiles-dd6d8842f8cf99c01d8751e61c213c7d29709175.zip
Emacs: Use yaml-mode for sls files
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 5094a606..e87b1b17 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)))