summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-08-20 22:06:05 +0100
committerAlan Pearce2014-08-20 22:06:05 +0100
commit127518ed0855ee81de67f6f3c03bff7e1958d82e (patch)
tree09700b548769fe5e19c47659b738d04a6d281a1d
parent623e348e8f34cec5a91553094ff55f36504fe3df (diff)
downloadnixfiles-127518ed0855ee81de67f6f3c03bff7e1958d82e.tar.lz
nixfiles-127518ed0855ee81de67f6f3c03bff7e1958d82e.tar.zst
nixfiles-127518ed0855ee81de67f6f3c03bff7e1958d82e.zip
Emacs: Remove salt files from yaml-mode
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 5fff78c1..c01d8c08 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -691,8 +691,7 @@ mouse-1: Display Line and Column Mode Menu"))))))
 
 (req-package yaml-mode
   :mode (("/group_vars/.*" . yaml-mode)
-         ("/host_vars/.*" . yaml-mode)
-         ("\\.sls\\'" . yaml-mode)))
+         ("/host_vars/.*" . yaml-mode)))
 
 (define-derived-mode ansible-mode yaml-mode "Ansible")
 (add-to-list 'auto-mode-alist '("\\(?:ansible.+\\|roles/.+/\\(?:tasks\\|handlers\\)\\)/.+\\.yml\\'" . ansible-mode))