dev: merge from master

This commit is contained in:
Matt Nish-Lapidus 2024-08-30 10:10:13 -04:00
commit 10c703a182
16 changed files with 172 additions and 143 deletions

View file

@ -103,11 +103,7 @@ Can be negative.")
(set-popup-rule! "^\\*helm" :vslot -100 :size 0.22 :ttl nil)
;; Hide minibuffer if `helm-echo-input-in-header-line'
(add-hook 'helm-minibuffer-set-up-hook #'helm-hide-minibuffer-maybe)
;; Use helpful instead of describe-* to display documentation
(dolist (fn '(helm-describe-variable helm-describe-function))
(advice-add fn :around #'doom-use-helpful-a)))
(add-hook 'helm-minibuffer-set-up-hook #'helm-hide-minibuffer-maybe))
(use-package! helm-posframe

View file

@ -226,11 +226,6 @@ workable results ripgrep produces, despite the error."
(if (= code 2) 0 code)))
(apply fn args)))
;; Integrate with `helpful'
(setq counsel-describe-function-function #'helpful-callable
counsel-describe-variable-function #'helpful-variable
counsel-descbinds-function #'helpful-callable)
;; Decorate `doom/help-custom-variable' results the same way as
;; `counsel-describe-variable' (adds value and docstring columns).
(ivy-configure 'doom/help-custom-variable :parent 'counsel-describe-variable)