all repos — nixfiles @ 1a828301e51f27aaa5855eff5d7d13740bd4cad8

System and user configuration, managed by nix and home-manager

Emacs: Add nginx helm-dash documentation hook

Alan Pearce
commit

1a828301e51f27aaa5855eff5d7d13740bd4cad8

parent

101145372f6245e036652a8e9642d67a3eee356b

1 file changed, 1 insertion(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-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")))