diff options
author | Alan Pearce | 2014-08-07 19:52:31 +0100 |
---|---|---|
committer | Alan Pearce | 2014-08-07 19:52:31 +0100 |
commit | 538e19d1c47a34e80a343ea1fde70e1908955333 (patch) | |
tree | 02c5d5c20d6bf4666937e4edc4f6331e587a1f09 /tag-emacs/emacs.d/init.el | |
parent | 19e0b7925af4551e71a5664d23b72efd7c6a3d53 (diff) | |
download | nixfiles-538e19d1c47a34e80a343ea1fde70e1908955333.tar.lz nixfiles-538e19d1c47a34e80a343ea1fde70e1908955333.tar.zst nixfiles-538e19d1c47a34e80a343ea1fde70e1908955333.zip |
Emacs: Use ansible dash docset for ansible-mode
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 3 |
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) |