From 6a0c16531099af5a96df4936c144411dc91a4e98 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Wed, 29 Mar 2023 13:29:40 +0200 Subject: Fix dash-docs startup --- tw/home/files/emacs-init.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tw/home/files') diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el index 64a29a04..dbc66c45 100644 --- a/tw/home/files/emacs-init.el +++ b/tw/home/files/emacs-init.el @@ -135,11 +135,15 @@ :config (counsel-mode +1) :diminish counsel-mode) +(use-package dash-docs) + (defun tw/counsel-dash-is-help () "Install `counsel-dash-at-point' as `evil-lookup-func'." (setq-local evil-lookup-func #'counsel-dash-at-point)) (use-package counsel-dash + :after (dash-docs) + :commands (counsel-dash-at-point) :demand t :bind (("K" . counsel-dash-at-point) ; TODO: just install as `evil-lookup-func'? ("dK" . counsel-dash) ("di" . counsel-dash-install-docset) -- cgit v1.2.3