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

add icon for the macro kind #8

Closed andreyorst closed 2 years ago

andreyorst commented 2 years ago

Languages, which have macros, like Lisps, usually have a separate kind for them. For example, in Clojure with CIDER:

image.

With this change, an icon is added:

image

Suggestions on the icon, as well as the short name are welcome. I've chosen lambda, because, well, Lisp macros, I guess.

andreyorst commented 2 years ago

All Lisps I know highlight macros with font-lock-keyword-face because macros and builtins are kinda indistinguishable from the user side.

andreyorst commented 2 years ago

BTW, any other backends also providing this kind? Perhaps Emacs-28 emacs-lisp?

I don't remember exactly, and I'm not using LSP mode right now.

jdtsmith commented 2 years ago

Great thanks.