mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
This commit's primary goal is allowing use of [Corfu](https://github.com/minad/corfu) as an alternative to [Company](https://github.com/company-mode/company-mode). It introduces a module under `:completion` for this purpose, plus some conditionals on other relevant modules to toggle functionality like lsp back-ends and [Cape](https://github.com/minad/cape) capfs for certain modes. Other optional or miscellaneous features include: - Corfu is enabled in the minibuffer if `completion-at-point` is bound; - Support for displaying the completion's documentation on a secondary popup; - Support for terminal display if :os tty; - Support for icons if +icons;
12 lines
499 B
EmacsLisp
12 lines
499 B
EmacsLisp
;; -*- no-byte-compile: t; -*-
|
|
;;; completion/corfu/packages.el
|
|
|
|
(package! corfu :pin "c1e7b6190b00158e67347b4db0a8f7964e5d2f8b")
|
|
(package! cape :pin "a397a0c92de38277b7f835fa999fac400a764908")
|
|
(when (modulep! +icons)
|
|
(package! nerd-icons-corfu :pin "7077bb76fefc15aed967476406a19dc5c2500b3c"))
|
|
(when (modulep! +orderless)
|
|
(package! orderless :pin "b24748093b00b37c3a572c4909f61c08fa27504f"))
|
|
(when (modulep! :os tty)
|
|
(package! corfu-terminal :pin "501548c3d51f926c687e8cd838c5865ec45d03cc"))
|