diff --git a/init.el b/init.el index 5160ea9..5a3e6c7 100644 --- a/init.el +++ b/init.el @@ -1000,18 +1000,18 @@ Return nil if DIR is not in a hugo project at all." (use-package pcmpl-args :after eshell) -(use-package popon - :ensure (:type git - :repo "https://codeberg.org/akib/emacs-popon") - :if (not (display-graphic-p))) -(use-package corfu-terminal - :ensure (corfu-terminal - :type git - :repo "https://codeberg.org/akib/emacs-corfu-terminal") - :after popon - :init (unless - (display-graphic-p) - (corfu-terminal-mode +1))) +(unless (display-graphic-p) + (use-package popon + :ensure ( :type git + :repo "https://codeberg.org/akib/emacs-popon")) + (use-package corfu-terminal + :ensure (corfu-terminal + :type git + :repo "https://codeberg.org/akib/emacs-corfu-terminal") + :after popon + :init (unless + (display-graphic-p) + (corfu-terminal-mode +1)))) (use-package transient :ensure t) (use-package magit