switched from company to corfu with basic config

This commit is contained in:
EliasVincent 2025-01-04 00:03:04 +01:00
parent 1c9ac95772
commit adf6c73340
2 changed files with 21 additions and 9 deletions

View File

@ -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

View File

@ -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