summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d')
-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 4e9a919..8b64dc6 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)