fix eldoc startup error

This commit is contained in:
Miranda Marquez 2024-07-17 19:29:58 -08:00
parent 8b5708fee7
commit 0b0115228b

13
init.el
View File

@ -336,7 +336,6 @@ If the current window occupies the whole frame, split it."
;; (add-hook 'after-init-hook #'mir/graphical-setup) ;; (add-hook 'after-init-hook #'mir/graphical-setup)
) )
(use-package compat) (use-package compat)
(use-package marginalia :init (marginalia-mode)) (use-package marginalia :init (marginalia-mode))
;; (elpaca gcmh (gcmh-mode)) ;; (elpaca gcmh (gcmh-mode))
@ -348,8 +347,8 @@ If the current window occupies the whole frame, split it."
(use-package powershell (use-package powershell
:mode ("\\.ps1\\'" . powershell-mode)) :mode ("\\.ps1\\'" . powershell-mode))
;; (message "%s" elpaca--queues) ;; (message "elpaca queues: %s" elpaca--queues)
(if (fboundp #'elpaca) (elpaca-wait)) ;; (if (fboundp #'elpaca) (elpaca-wait))
;; diminish ;; diminish
(use-package diminish (use-package diminish
@ -361,8 +360,14 @@ If the current window occupies the whole frame, split it."
:custom (default-input-method "japanese") :custom (default-input-method "japanese")
:config (require 'mir-keybinds)) :config (require 'mir-keybinds))
;;(if (fboundp #'elpaca) (elpaca-wait)) ;;(if (fboundp #'elpaca) (elpaca-wait))
(use-package eldoc :ensure t)
(elpaca-wait) (elpaca-wait)
;;(when (featurep 'eldoc)
;; (unload-feature 'eldoc t))
;; (elpaca eldoc
;; )
;; (elpaca-wait)
(use-package eldoc-box (use-package eldoc-box
:after eldoc :after eldoc
:diminish (eldoc-mode eldoc-box-hover-at-point-mode) :diminish (eldoc-mode eldoc-box-hover-at-point-mode)