only bother with corfu-terminal if in terminal
This commit is contained in:
parent
18810fc313
commit
e365ca86bb
24
init.el
24
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
|
||||
|
Loading…
Reference in New Issue
Block a user