Emacs: Use ansible dash docset for ansible-mode
Alan Pearce alan@alanpearce.co.uk
Thu, 07 Aug 2014 19:52:31 +0100
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -333,7 +333,8 @@ :config (progn (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)