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
|
(use-package pcmpl-args
|
||||||
:after eshell)
|
:after eshell)
|
||||||
|
|
||||||
(use-package popon
|
(unless (display-graphic-p)
|
||||||
:ensure (:type git
|
(use-package popon
|
||||||
:repo "https://codeberg.org/akib/emacs-popon")
|
:ensure ( :type git
|
||||||
:if (not (display-graphic-p)))
|
:repo "https://codeberg.org/akib/emacs-popon"))
|
||||||
(use-package corfu-terminal
|
(use-package corfu-terminal
|
||||||
:ensure (corfu-terminal
|
:ensure (corfu-terminal
|
||||||
:type git
|
:type git
|
||||||
:repo "https://codeberg.org/akib/emacs-corfu-terminal")
|
:repo "https://codeberg.org/akib/emacs-corfu-terminal")
|
||||||
:after popon
|
:after popon
|
||||||
:init (unless
|
:init (unless
|
||||||
(display-graphic-p)
|
(display-graphic-p)
|
||||||
(corfu-terminal-mode +1)))
|
(corfu-terminal-mode +1))))
|
||||||
|
|
||||||
(use-package transient :ensure t)
|
(use-package transient :ensure t)
|
||||||
(use-package magit
|
(use-package magit
|
||||||
|
Loading…
Reference in New Issue
Block a user