summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 4e9a9199..8b64dc68 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -333,7 +333,8 @@
             (defun ap/create-helm-dash-hook (docsets)
               (lambda ()
                 (when (require 'helm-dash nil :noerror)
-                  (setq-local helm-dash-docsets (if (listp docsets) docsets (list docsets))))))))
+                  (setq-local helm-dash-docsets (if (listp docsets) docsets (list docsets))))))
+            (add-hook 'ansible-mode-hook (ap/create-helm-dash-hook "Ansible"))))
 
 (req-package which-func
   :init (which-function-mode)