emacs: Remove some references to corfu

This commit is contained in:
Charlotte Van Petegem 2023-08-01 17:48:14 +02:00
parent 29d6bb9e01
commit e8cc520bed
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 1 additions and 12 deletions

View file

@ -112,7 +112,7 @@
(global-corfu-mode)
)
;; Prescient in company
;; Prescient in corfu
(use-package corfu-prescient
:after (corfu prescient)
:config (corfu-prescient-mode 1)
@ -210,13 +210,6 @@
:custom
(completion-styles '(orderless basic) "Use orderless for filtering")
(orderless-matching-styles '(orderless-regexp orderless-initialism orderless-prefixes) "More matching styles for more flexible matching.")
:config
;; Highlight multiple parts in company matches
(defun just-one-face (fn &rest args)
(let ((orderless-match-faces [completions-common-part]))
(apply fn args)))
(advice-add 'company-capf--candidates :around #'just-one-face)
)
;; Org

View file

@ -44,10 +44,6 @@
"SPC n" '(flymake-goto-next-error :which-key "Next error")
"SPC p" '(flymake-goto-prev-error :which-key "Previous error")
)
:config
;;; eglot replaces company-backends with '(company-capf). I still
;;; want company-yasnippet as well though
(add-to-list 'eglot-stay-out-of "company")
)
;; Snippets