Improve completions config
This commit is contained in:
parent
ff33ade484
commit
a4479b5fd7
1 changed files with 3 additions and 1 deletions
4
init.el
4
init.el
|
@ -231,7 +231,7 @@
|
||||||
:straight t
|
:straight t
|
||||||
: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
|
||||||
(corfu-separator ?\s) ;; Orderless field separator
|
(corfu-separator ?\s) ;; Orderless field separator
|
||||||
;; (corfu-quit-at-boundary nil) ;; Never quit at completion boundary
|
;; (corfu-quit-at-boundary nil) ;; Never quit at completion boundary
|
||||||
;; (corfu-quit-no-match nil) ;; Never quit, even if there is no match
|
;; (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-echo-documentation nil) ;; Disable documentation in the echo area
|
||||||
;; (corfu-scroll-margin 5) ;; Use scroll margin
|
;; (corfu-scroll-margin 5) ;; Use scroll margin
|
||||||
:init
|
:init
|
||||||
|
(setq completion-cycle-threshold 3)
|
||||||
|
(setq tab-always-indent 'complete)
|
||||||
(global-corfu-mode))
|
(global-corfu-mode))
|
||||||
|
|
||||||
(use-package deadgrep
|
(use-package deadgrep
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue