[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kind-icon 8d6fa99 46/51: Update README.md
From: |
ELPA Syncer |
Subject: |
[elpa] externals/kind-icon 8d6fa99 46/51: Update README.md |
Date: |
Wed, 17 Nov 2021 15:57:47 -0500 (EST) |
branch: externals/kind-icon
commit 8d6fa99d16c283cb573dc1530b85fd2c990ecc90
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Update README.md
---
README.md | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index 3c11099..bd577e8 100644
--- a/README.md
+++ b/README.md
@@ -56,9 +56,9 @@ The configuration defaults should work fine, but kind-icon
can be customized to
### Variables
-`kind-icon` has a few customization variables that allows you to configure its
appearance. The easiest way to edit them is `M-x customize-group kind-icon`,
which automatically takes care of cleaning the cache. If you change them
directly from lisp during a session, call `M-x kind-icon-reset-cache` for the
changes to take effect.
+`kind-icon` has a few customization variables that allow you to configure its
appearance. The easiest way to edit them is `M-x customize-group kind-icon`,
which automatically takes care of cleaning the cache. If you change them
directly from lisp during a session (e.g. with `setq`), call `M-x
kind-icon-reset-cache` to reset the temporary `kind-icon` cache, so that the
changes will take effect.
-**Important configurations:**
+#### Important configuration variables:
- `kind-icon-use-icons`: If non-nil (the default), prefer icons for prefix
badges. Otherwise, use text labels. Individual kind entries can also have
their icons disabled by removing the `:icon` property in the mapping (see
below). If `svg-lib` is unable to download a named icon and it is not cached
on disk, text labels for that kind will be used as a fallback.
@@ -72,21 +72,21 @@ The configuration defaults should work fine, but kind-icon
can be customized to
### Colors
-If you don't like the default colors used to go along with the icons, you can
customize the associated face, choose another, or build your own. You can also
change how the background color is displayed.
+If you don't like the default colors used to go along with the icons, you can
customize the associated face, choose another pre-existing face, or substitute
your own face. You can also change how the background color is displayed.
-**Foreground color:**
+#### Foreground color
-Icon foreground colors are matched by default to the default colors in
programming modes (variables, function names, etc.). This gives consistency
with in-buffer highlighting. These colors are taken from the `:face` mapping's
`:foreground` color. If no `:face` is set, the foreground is taken from
`kind-icon-default-face` foreground, or, as a backup the default frame
foreground.
+Icon foreground colors are matched in the default mapping to the face colors
used by font-lock in programming modes (variables, function names, etc.). This
gives consistency with in-buffer highlighting. These colors are taken from the
`:face` mapping's `:foreground` color. If no `:face` is set, the foreground is
taken from `kind-icon-default-face` foreground, or, as a backup, the default
frame foreground.
-**Background color:**
+#### Background color
-By default, `kind-icon` creates a blended background color that is a mix of a
bit of the foreground color and the background. Note that if your completion
UI uses a different background color from your normal buffer, you should
configure the face it uses in `kind-icon-default-face`. If you turn off
`kind-icon-blend-background`, `kind-icon` will use both the foreground _and_
background from the configured `:face` for each kind, allowing you to configure
arbitrary colors.
+By default, `kind-icon` creates a _blended_ background color that is a mix of
a bit of the foreground color and the normal completion background. Note that
if your completion UI uses a different background color from your normal
buffer, you should configure the face it uses in `kind-icon-default-face`. If
you turn off `kind-icon-blend-background`, `kind-icon` will use both the
foreground _and_ (if set) background from the configured `:face` for each kind,
allowing you to configure arbit [...]
### Icons
Check the [material icon library](https://materialdesignicons.com) for the
icons you can use, more than 6,500 of them! All you need to "use" an icon is
its name. The easiest approach is to `M-x customize-variable
kind-icon-mapping`, find the kind you are interested in, and change its icon.
Hit the `Preview` button and check the message buffer to confirm it's the icon
you were after, and Apply your changes.
-**Note that `svg-lib`, which `kind-icon` uses, downloads and caches icons, by
default in `.emacs.d/.cache/svg-lib/`.** If no network connection is present,
and the icon has not been cached on disk, the short-text is used as a backup.
+**Note that `svg-lib`, which `kind-icon` uses, downloads and caches icons, by
default in `.emacs.d/.cache/svg-lib/`.** If no network connection is present,
and the icon has not been cached on disk, the short-text is used as a backup.
And yes, you can use **any icons**!
@@ -94,7 +94,7 @@ And yes, you can use **any icons**!
### Old School: Text-based Icons!
-You can also use simple text-based prefixed instead of icons. A "text" icon
is either one or two characters (anything longer will be trimmed). The icons
are quite lightweight so there shouldn't be much performance difference, but
some may prefer a simpler look. Simply set the `kind-icon-use-icons` variable
to `nil` and you are good to go. Note that if you are not connected to the
network, even if you have enabled icons, any which are not cached will be
replaced by their short text eq [...]
+You can also use simple text-based prefixes instead of icons. The icons are
quite lightweight so there shouldn't be much performance difference, but some
may prefer a simpler look. A "text" icon is composed of either one or two
characters (anything longer will be trimmed). Simply set the
`kind-icon-use-icons` variable to `nil` and (if desired) customize the
"Short-Text" in the mapping. Note that if you are not connected to the
network, even if you have enabled icons, any icons which [...]
## Thanks
- [elpa] externals/kind-icon 84e6654 10/51: doc cleanup, (continued)
- [elpa] externals/kind-icon 84e6654 10/51: doc cleanup, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon 3b25b8d 27/51: Update README.md, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon ffa75e7 21/51: Update README.md, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon 01d76af 07/51: Make kind-prefix-reset-cache a command, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon eaeea12 12/51: Doc, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon 3b0c9c3 11/51: Renamed kind-icon, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon 366232c 36/51: Quiet svg-lib-icon warning, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon 9a20879 30/51: Use widget-value in customize preview, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon 9098597 33/51: Update kinds to match LSP spec, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon fcfe9ea 14/51: kind-icon-formatted: 3 char-width icon/centered 1 or 2 char text, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon 8d6fa99 46/51: Update README.md,
ELPA Syncer <=
- [elpa] externals/kind-icon b88e809 48/51: kind-formatter -> margin-formatters, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon f6de892 37/51: Remove add-variable-watcher in favor of custom :set, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon 94ff0ac 13/51: customize interface for mappings, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon cfa3d73 38/51: Guard against network or other icon retrieval issues (text fallback), ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon ba0f94e 17/51: Re-enable mapping customization preview button, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon 0921fe2 35/51: Separate kind-icon--cache, and return ?? when kind missing, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon 0d92763 31/51: add kinds constructor, event, reference, typeparameter, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon c69da89 18/51: Updated docs, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon 962c209 20/51: Add custom variable watcher for instant updates, ELPA Syncer, 2021/11/17
- [elpa] externals/kind-icon c0d50c6 40/51: minor reformat, ELPA Syncer, 2021/11/17