switched from company to corfu with basic config
This commit is contained in:
parent
1c9ac95772
commit
adf6c73340
16
config.el
16
config.el
|
@ -119,9 +119,21 @@
|
|||
(after! org-journal
|
||||
(setq org-journal-dir "~/Nextcloud/org/journal")
|
||||
(setq org-journal-file-format "%Y_%m_%d.org")
|
||||
)
|
||||
(setq org-journal-file-header "")
|
||||
)
|
||||
|
||||
(after! org-download
|
||||
(setq-default org-download-image-dir "~/Nextcloud/org/img")
|
||||
(add-hook 'dired-mode-hook 'org-download-enable)
|
||||
)
|
||||
)
|
||||
|
||||
;; autocomplete corfu
|
||||
(after! lsp-mode
|
||||
(setq lsp-completion-provider :none)) ;; Disable LSP's completion provider
|
||||
|
||||
(use-package! corfu
|
||||
:custom
|
||||
(corfu-auto t) ;; Enable auto completion
|
||||
(corfu-auto-prefix 2) ;; Complete after 2 characters
|
||||
(corfu-auto-delay 0.0) ;; No delay for completion
|
||||
;; (corfu-echo-documentation nil)) ;; Disable documentation in echo area
|
||||
|
|
4
init.el
4
init.el
|
@ -23,8 +23,8 @@
|
|||
;;layout ; auie,ctsrnm is the superior home row
|
||||
|
||||
:completion
|
||||
company ; the ultimate code completion backend
|
||||
;; (corfu +orderless) ; complete with cap(f), cape and a flying feather!
|
||||
;; company ; the ultimate code completion backend
|
||||
(corfu +orderless) ; complete with cap(f), cape and a flying feather!
|
||||
;;helm ; the *other* search engine for love and life
|
||||
;;ido ; the other *other* search engine...
|
||||
;;ivy ; a search engine for love and life
|
||||
|
|
Loading…
Reference in New Issue