only bother with corfu-terminal if in terminal
This commit is contained in:
parent
18810fc313
commit
e365ca86bb
6
init.el
6
init.el
@ -1000,10 +1000,10 @@ Return nil if DIR is not in a hugo project at all."
|
|||||||
(use-package pcmpl-args
|
(use-package pcmpl-args
|
||||||
:after eshell)
|
:after eshell)
|
||||||
|
|
||||||
|
(unless (display-graphic-p)
|
||||||
(use-package popon
|
(use-package popon
|
||||||
:ensure ( :type git
|
:ensure ( :type git
|
||||||
:repo "https://codeberg.org/akib/emacs-popon")
|
:repo "https://codeberg.org/akib/emacs-popon"))
|
||||||
:if (not (display-graphic-p)))
|
|
||||||
(use-package corfu-terminal
|
(use-package corfu-terminal
|
||||||
:ensure (corfu-terminal
|
:ensure (corfu-terminal
|
||||||
:type git
|
:type git
|
||||||
@ -1011,7 +1011,7 @@ Return nil if DIR is not in a hugo project at all."
|
|||||||
: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