emacs: Remove some references to corfu
This commit is contained in:
parent
29d6bb9e01
commit
e8cc520bed
2 changed files with 1 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue