fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

Andrew Tropin

TIL: There is a builtin completion-preview-mode in recent Emacs.

github.com/emacs-mirror/emacs/

@abcdw cool! I need to try this out

@daviwil @abcdw curious if this is a viable replacement for corfu...?

@daviwil @abcdw So far looks very promising, I really like the unobtrusive nature of the ghost text. Still trying to work out how to have it pick up my yasnippets-snips, though. If I can figure out that, I believe I will ditch corfu and go for this instead.

@daviwil @abcdw This is an acceptable work-around for not getting snippets into the completion-preview (yet):
(use-package consult-yasnippet
:ensure t
:bind (("C-c C-<SPC>" . #'consult-yasnippet)))

In some ways it's even better. Then I can mentally separate between snippets and "regular" completion

@abcdw @daviwil I'm using that for corfu, but for some reason the snippets aren't showing up in completion-preview