Emacs: Add nginx helm-dash documentation hook
1 file changed, 1 insertion(+), 0 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -334,6 +334,7 @@ (defun ap/create-helm-dash-hook (docsets) (lambda () (when (require 'helm-dash nil :noerror) (setq-local helm-dash-docsets docsets)))) + (add-hook 'nginx-mode-hook (ap/create-helm-dash-hook '("Nginx"))) (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")))