diff options
author | Alan Pearce | 2014-04-18 12:37:22 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-18 12:37:22 +0100 |
commit | dd6d8842f8cf99c01d8751e61c213c7d29709175 (patch) | |
tree | aa17f37f57d5df30bd7575ac1af9dc4edfb80700 /tag-emacs/emacs.d/init.el | |
parent | 57a8f58c4a2eb790eb5f37f059f27ce04a8a228d (diff) | |
download | nixfiles-dd6d8842f8cf99c01d8751e61c213c7d29709175.tar.lz nixfiles-dd6d8842f8cf99c01d8751e61c213c7d29709175.tar.zst nixfiles-dd6d8842f8cf99c01d8751e61c213c7d29709175.zip |
Emacs: Use yaml-mode for sls files
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 3 |
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))) |