Closed daanturo closed 2 years ago
Can you share how you have configured kind-icon to need these?
I don't use use-package
, currently my config looks like this:
(require 'kind-icon)
(setq kind-icon-default-face 'corfu-default)
(add-to-list 'corfu-margin-formatters #'kind-icon-margin-formatter)
Autoloading can free the require
call; also it provides a way to check, without loading, if kind-icon
is installed (fboundp 'kind-icon...)
when the package isn't installed through package.el
(no package-installed-p
).
In addition, it helps lazy loading: just (add-to-list 'corfu-margin-formatters #'kind-icon-margin-formatter)
can defer loading kind-icon
until corfu
's completion list appears.
Added in 03a4082. Can you check that they are working with your config?
Thank you for this!
Having them autoloaded should be nice.