unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [ELPA] New Package: kind-icon
@ 2021-11-16  2:57 JD Smith
  2021-11-17 20:32 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: JD Smith @ 2021-11-16  2:57 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1286 bytes --]

Proposed for addition to ELPA: kind-icon is a small package which provides colorful margin prefix icons for completion kinds, as specified by the :company-kind function.  It will work with any completion UI that implements a simple margin-formatter-function API (such as ELPA package corfu), or alternatively, out of the box with UI’s supporting the new affixation-function completion property.  

For icon support, kind-icon relies on the ELPA package svg-lib, but can also use simple one or two character text-based badges by configuration or as a fallback.  Icons are trivially user-customizable from a set of many thousands, and are padded to occupy the space of 3 characters.  See the package page <https://github.com/jdtsmith/kind-icon> for screenshots.

---
 elpa-packages | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/elpa-packages b/elpa-packages
index efa53e3e40..a8b97c1d5e 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -288,6 +288,9 @@
  ("json-mode"		:url nil)
  ("jsonrpc"		:core "lisp/jsonrpc.el")
  ("jumpc"		:url nil)
+ ("kind-icon"
+  :url "https://github.com/jdtsmith/kind-icon"
+  :auto-sync t)
  ("kiwix"		:url "https://github.com/stardiviner/kiwix.el"
   :ignored-files ("*.png" "LICENSE"))
  ("kmb"			:url nil)
-- 
2.32.0


[-- Attachment #2: Type: text/html, Size: 2246 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [ELPA] New Package: kind-icon
  2021-11-16  2:57 [ELPA] New Package: kind-icon JD Smith
@ 2021-11-17 20:32 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2021-11-17 20:32 UTC (permalink / raw)
  To: JD Smith; +Cc: emacs-devel

Thanks, pushed,


        Stefan


JD Smith [2021-11-15 21:57:15] wrote:

> Proposed for addition to ELPA: kind-icon is a small package which provides colorful margin prefix icons for completion kinds, as specified by the :company-kind function.  It will work with any completion UI that implements a simple margin-formatter-function API (such as ELPA package corfu), or alternatively, out of the box with UI’s supporting the new affixation-function completion property.  
>
> For icon support, kind-icon relies on the ELPA package svg-lib, but can also use simple one or two character text-based badges by configuration or as a fallback.  Icons are trivially user-customizable from a set of many thousands, and are padded to occupy the space of 3 characters.  See the package page <https://github.com/jdtsmith/kind-icon> for screenshots.
>
> ---
>  elpa-packages | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/elpa-packages b/elpa-packages
> index efa53e3e40..a8b97c1d5e 100644
> --- a/elpa-packages
> +++ b/elpa-packages
> @@ -288,6 +288,9 @@
>   ("json-mode"		:url nil)
>   ("jsonrpc"		:core "lisp/jsonrpc.el")
>   ("jumpc"		:url nil)
> + ("kind-icon"
> +  :url "https://github.com/jdtsmith/kind-icon"
> +  :auto-sync t)
>   ("kiwix"		:url "https://github.com/stardiviner/kiwix.el"
>    :ignored-files ("*.png" "LICENSE"))
>   ("kmb"			:url nil)




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-17 20:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16  2:57 [ELPA] New Package: kind-icon JD Smith
2021-11-17 20:32 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).