feature/lookup: fix counsel-dash not loading; use eww for docsets
This commit is contained in:
parent
587d69dda0
commit
1b6abf47ef
|
@ -203,17 +203,18 @@ Used by `+lookup/in-docsets' and `+lookup/documentation'."
|
||||||
(def-package! helm-dash
|
(def-package! helm-dash
|
||||||
:commands (helm-dash helm-dash-install-docset helm-dash-at-point
|
:commands (helm-dash helm-dash-install-docset helm-dash-at-point
|
||||||
helm-dash-docset-installed-p helm-dash-installed-docsets)
|
helm-dash-docset-installed-p helm-dash-installed-docsets)
|
||||||
|
:init
|
||||||
|
(setq helm-dash-enable-debugging doom-debug-mode
|
||||||
|
helm-dash-browser-func #'eww)
|
||||||
:config
|
:config
|
||||||
(unless (file-directory-p helm-dash-docsets-path)
|
(unless (file-directory-p helm-dash-docsets-path)
|
||||||
(setq helm-dash-docsets-path (concat doom-etc-dir "docsets/")))
|
(setq helm-dash-docsets-path (concat doom-etc-dir "docsets/")))
|
||||||
(unless (file-directory-p helm-dash-docsets-path)
|
(unless (file-directory-p helm-dash-docsets-path)
|
||||||
(make-directory helm-dash-docsets-path t))
|
(make-directory helm-dash-docsets-path t)))
|
||||||
(setq helm-dash-enable-debugging doom-debug-mode))
|
|
||||||
|
|
||||||
(def-package! counsel-dash
|
(def-package! counsel-dash
|
||||||
:when (featurep! :completion ivy)
|
:when (featurep! :completion ivy)
|
||||||
:commands (counsel-dash counsel-dash-install-docset)
|
:commands (counsel-dash counsel-dash-install-docset)
|
||||||
:after helm-dash
|
|
||||||
:config (setq counsel-dash-min-length 2)))
|
:config (setq counsel-dash-min-length 2)))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user