kind-icon
- Description
- Completion kind icons
- Latest
- kind-icon-0.2.2.tar (.sig), 2024-Mar-31, 70.0 KiB
- Maintainer
- J.D. Smith <[email protected]>
- Atom feed
- kind-icon.xml
- 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.1.tar.lz | 2023-Nov-26 | 19.9 KiB |
kind-icon-0.2.0.tar.lz | 2023-Mar-02 | 19.3 KiB |
kind-icon-0.1.9.tar.lz | 2022-Nov-24 | 19.0 KiB |
kind-icon-0.1.8.tar.lz | 2022-Nov-23 | 18.9 KiB |
kind-icon-0.1.7.tar.lz | 2022-Sep-09 | 18.8 KiB |
kind-icon-0.1.6.tar.lz | 2022-Jun-12 | 18.8 KiB |
kind-icon-0.1.5.tar.lz | 2022-Mar-27 | 17.9 KiB |
kind-icon-0.1.4.tar.lz | 2021-Dec-19 | 17.9 KiB |
kind-icon-0.1.3.tar.lz | 2021-Dec-10 | 17.9 KiB |
kind-icon-0.1.1.tar.lz | 2021-Nov-19 | 17.9 KiB |