Corfu: disable useless defaults

This commit is contained in:
MitchMarq42 2023-06-06 13:25:22 -08:00
parent 5ebc09006d
commit 49d17e081c

View File

@ -770,18 +770,18 @@ Return nil if DIR is not in a hugo project at all."
:elpaca (:files (:defaults "extensions/*.el")) :elpaca (:files (:defaults "extensions/*.el"))
;; :if (display-graphic-p) ; breaks in emacsclient ;; :if (display-graphic-p) ; breaks in emacsclient
:custom :custom
(corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
(corfu-auto t) ;; Enable auto completion
(corfu-auto-delay 1.5)
(corfu-auto-prefix 2)
(corfu-separator ?-) ;; Orderless field separator
(corfu-quit-at-boundary 'separator) ;; Never quit at completion boundary
(corfu-quit-no-match 'separator) ;; Never quit, even if there is no match (corfu-quit-no-match 'separator) ;; Never quit, even if there is no match
(corfu-preview-current nil) ;; Disable current candidate preview (corfu-preview-current nil) ;; Disable current candidate preview
(corfu-preselect-first nil) ;; Disable candidate preselection (corfu-preselect-first nil) ;; Disable candidate preselection
(corfu-on-exact-match nil) ;; Configure handling of exact matches (corfu-on-exact-match nil) ;; Configure handling of exact matches
(corfu-scroll-margin 5) ;; Use scroll margin (corfu-scroll-margin 5) ;; Use scroll margin
(completion-cycle-threshold 0) (completion-cycle-threshold 0)
;; (corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
;; (corfu-auto t) ;; Enable auto completion
;; (corfu-auto-delay 1.5)
;; (corfu-auto-prefix 2)
;; (corfu-separator ?-) ;; Orderless field separator
;; (corfu-quit-at-boundary 'separator) ;; Never quit at completion boundary
(tab-always-indent 'complete) (tab-always-indent 'complete)
(tooltip-delay 0.01) (tooltip-delay 0.01)
(use-system-tooltips nil) (use-system-tooltips nil)