Files
doomemacs/modules/completion/corfu/packages.el
Alejandro Blasco 52e867d386 refactor(corfu): use tty child frames in 31+
Since 31.1 child frames are now supported on TTY frames.
This supports use-cases like Posframe, Corfu, and child frames acting
like tooltips.
`corfu-terminal` package should be only loaded on older versions.

Ref: emacs-mirror/emacs@a8c83b496b
Ref: emacs-mirror/emacs@8aef5d224a
2025-08-21 15:13:44 +02:00

19 lines
852 B
EmacsLisp

;; -*- no-byte-compile: t; -*-
;;; completion/corfu/packages.el
(package! corfu :pin "53aa6c85be72ce220a4321487c535295b0de0488")
(package! cape :pin "c9191ee9e13e86a7b40c3d25c8bf7907c085a1cf")
(when (modulep! +icons)
(package! nerd-icons-corfu :pin "55b17ee20a5011c6a9be8beed6a9daf644815b5a"))
(when (and (not (modulep! :completion vertico))
(modulep! +orderless))
;; Enabling +orderless without vertico should be fairly niche enough that to
;; save contributor headaches we should only pin vertico's orderless and leave
;; this one unpinned.
(package! orderless))
(when (and (modulep! :os tty)
(not (featurep 'tty-child-frames)))
(package! corfu-terminal :pin "501548c3d51f926c687e8cd838c5865ec45d03cc"))
(when (modulep! :editor snippets)
(package! yasnippet-capf :pin "f53c42a996b86fc95b96bdc2deeb58581f48c666"))