diff options
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 363c7c0..f087278 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -336,7 +336,8 @@ (setq-local helm-dash-docsets (if (listp docsets) docsets (list docsets)))))) (add-hook 'ansible-mode-hook (ap/create-helm-dash-hook "Ansible")) (add-hook 'php-mode-hook (ap/create-helm-dash-hook '("PHP" "Symfony"))) - (add-hook 'twig-mode-hook (ap/create-helm-dash-hook '("Twig"))))) + (add-hook 'twig-mode-hook (ap/create-helm-dash-hook '("Twig"))) + (add-hook 'saltstack-mode-hook (ap/create-helm-dash-hook '("SaltStack"))))) (req-package which-func :init (which-function-mode) @@ -694,6 +695,9 @@ mouse-1: Display Line and Column Mode Menu")))))) (define-derived-mode ansible-mode yaml-mode "Ansible") (add-to-list 'auto-mode-alist '("\\(?:ansible.+\\|roles/.+/\\(?:tasks\\|handlers\\)\\)/.+\\.yml\\'" . ansible-mode)) +(define-derived-mode saltstack-mode yaml-mode "Salt") +(add-to-list 'auto-mode-alist '("\\.sls\\'" . saltstack-mode)) + ;;;; Planning (req-package org |