Improve completions config

This commit is contained in:
Dimitri Lozeve 2022-10-05 13:39:38 +02:00
parent ff33ade484
commit a4479b5fd7

View file

@ -231,7 +231,7 @@
:straight t
:custom
(corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
(corfu-auto t) ;; Enable auto completion
;; (corfu-auto t) ;; Enable auto completion
(corfu-separator ?\s) ;; Orderless field separator
;; (corfu-quit-at-boundary nil) ;; Never quit at completion boundary
;; (corfu-quit-no-match nil) ;; Never quit, even if there is no match
@ -241,6 +241,8 @@
;; (corfu-echo-documentation nil) ;; Disable documentation in the echo area
;; (corfu-scroll-margin 5) ;; Use scroll margin
:init
(setq completion-cycle-threshold 3)
(setq tab-always-indent 'complete)
(global-corfu-mode))
(use-package deadgrep