refactor(direnv): remove +direnv--load-info-a

This hack is no longer needed because the issue was resolved upstream.

Amend: 9de72537be
Ref: purcell/envrc#117
This commit is contained in:
Henrik Lissner 2026-03-01 22:16:12 -05:00
parent 605437b8b8
commit 994b7be3df
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -23,14 +23,6 @@
(remove-hook 'after-change-major-mode-hook fn)
(add-hook 'change-major-mode-after-body-hook fn 100)))))
;; HACK: Now that Doom doesn't eagerly load `info' anymore, envrc--apply can't
;; get away with referencing `Info-directory-list' without guards or
;; deferral. See purcell/envrc#117.
;; REVIEW: Address this upstream.
(defadvice! +direnv--load-info-a (&rest _)
:before #'envrc--apply
(require 'info))
;; HACK: Reloading direnv doesn't restart the associated LSP/eglot clients, so
;; this restarts them for you.
(when (modulep! :tools lsp)