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

Example how to change icons? #31

Closed konrad1977 closed 1 year ago

konrad1977 commented 1 year ago

Thanks for a great package. How do I change the icons to octicon or vscode? I saw that there is kind-icon-default-style and kind-icon-default-style but I dont understand how to change the icons?

konrad1977 commented 1 year ago

Got it working.

jdtsmith commented 1 year ago

OK good. Just heed the warning about monochrome-only icons.

minikN commented 9 months ago

Could someone help me on this? I added :collection "octicon" to kind-icon-default-style via customize-variable:

image

But this doesn't work, I get:

Warning (emacs): Error retrieving icon function, falling back on short-text (stringp nil)
jdtsmith commented 9 months ago

Did you actually change kind-icon-mapping to include valid icons from the octicon collection?