jdtsmith / kind-icon

Completion kind text/icon prefix labelling for emacs in-region completion
GNU Affero General Public License v3.0
174 stars 4 forks source link

Sly completion via Corfu and kind-icons doesn't show icons #43

Closed mdbergmann closed 6 months ago

mdbergmann commented 6 months ago

Hello.

This is an inquiry only basically, because I can't seem to get icons for completions in Sly (Common Lisp). Sly seems to deliver the 'kind' but there are no icons. However, in ELisp it works well. Can you imagine where I'd need to have a look to troubleshoot?

Thanks

Bildschirmfoto 2024-03-22 um 16 33 50
jdtsmith commented 6 months ago

The CAPF in question must implement :company-kind metadata: a function that takes the completion and returns its kind. Taking a look, it seems after a few wrappers sly--completions-complete-symbol-1 is the relevant CAPF. It does not implement :company-kind. You could request it get added there (but the mode needs to actually have the data of course).

mdbergmann commented 6 months ago

Thanks for checking.