mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-03-07 06:11:27 -08:00
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:
parent
605437b8b8
commit
994b7be3df
1 changed files with 0 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue