aboutsummaryrefslogtreecommitdiff
path: root/tw
diff options
context:
space:
mode:
authorTimo Wilken2023-03-29 13:29:40 +0200
committerTimo Wilken2023-03-29 13:29:40 +0200
commit6a0c16531099af5a96df4936c144411dc91a4e98 (patch)
treeda4973a00427b1a5d3bcb2e0418b172673b5e3b1 /tw
parent8b3dc02fbc0ce3b7392c443f532cbcb9bbfffb14 (diff)
Fix dash-docs startup
Diffstat (limited to 'tw')
-rw-r--r--tw/home/files/emacs-init.el4
1 files changed, 4 insertions, 0 deletions
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 (("<leader>K" . counsel-dash-at-point) ; TODO: just install as `evil-lookup-func'?
("<leader>dK" . counsel-dash)
("<leader>di" . counsel-dash-install-docset)