GNU-devel ELPA - kind-icon

kind-icon Atom Feed

Description
Completion kind icons
Latest
kind-icon-0.2.2.0.20240717.130344.tar (.sig), 2024-Jul-17, 70.0 KiB
Maintainer
J.D. Smith <jdtsmith@gmail.com>
Website
https://github.com/jdtsmith/kind-icon
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

kind-icon-mode adds an colorful icon or text prefix based on
:company-kind for compatible completion UI's.  The "kind" prefix is
typically used for differentiating completion candidates such as
variables, functions, etc.  It works in one of 2 ways:

 1. For UI's with "margin-formatters" capability, simply add
    `kind-icon-margin-formatter` to the margin formatter list.

 2. For UI's without a margin-formatters but which support
    "affixation functions" (an Emacs 28 and later completion
    property), use `kind-icon-enhance-completion' to wrap the
    normal completion-in-region-function.  E.g. (in the completion
    mode's hook):

    (setq completion-in-region-function
       (kind-icon-enhance-completion completion-in-region-function)

 3. If your UI supports neither margin-formatters nor affixation
    functions, ask them to do so!

Note that icon support requires svg-lib to be installed.

The `kind-icon-formatted' function creates, styles, and caches a
short-text or icon-based "badge" representing the kind of the
candidate.  Icons are by default loaded remotely from the
"material" library provided by svg-lib, which is required (unless
only short-text badges are desired, see `kind-icon-use-icons').
Customize `kind-icon-mapping' to configure mapping between kind and
both short-text and icons.

Old versions

kind-icon-0.2.2.0.20240716.122822.tar.lz2024-Jul-1620.5 KiB
kind-icon-0.2.2.0.20240321.120430.tar.lz2024-Mar-3120.3 KiB
kind-icon-0.2.1.0.20231217.93534.tar.lz2023-Dec-1720.0 KiB
kind-icon-0.2.0.0.20230926.75840.tar.lz2023-Sep-2620.0 KiB
kind-icon-0.1.9.0.20230227.234223.tar.lz2023-Feb-2819.3 KiB
kind-icon-0.1.8.0.20221123.164120.tar.lz2022-Nov-2318.9 KiB
kind-icon-0.1.7.0.20221107.212930.tar.lz2022-Nov-0818.9 KiB
kind-icon-0.1.6.0.20220612.114843.tar.lz2022-Jun-1218.8 KiB
kind-icon-0.1.5.0.20220608.230752.tar.lz2022-Jun-0918.8 KiB
kind-icon-0.1.1.0.20211126.172132.tar.lz2021-Nov-2717.9 KiB