Allow corfu to exist in client emacs

This commit is contained in:
MitchMarq42 2022-12-13 16:36:48 -09:00
parent 3e6da48959
commit b68798faef

View File

@ -723,7 +723,7 @@ Return nil if DIR is not in a hugo project at all."
;; :hook (prog-mode . company-mode)) ;; :hook (prog-mode . company-mode))
(elpaca-use-package (corfu (elpaca-use-package (corfu
:files (:defaults "extensions/*.el")) :files (:defaults "extensions/*.el"))
:if (display-graphic-p) ;; :if (display-graphic-p) ; breaks in emacsclient
:custom :custom
(corfu-cycle t) ;; Enable cycling for `corfu-next/previous' (corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
(corfu-auto t) ;; Enable auto completion (corfu-auto t) ;; Enable auto completion