branch: externals/kind-icon commit 77ad2b44b232409732011f7f82234f48372d7922 Author: JD Smith <93749+jdtsm...@users.noreply.github.com> Commit: JD Smith <93749+jdtsm...@users.noreply.github.com>
Affixation and download warning --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b071bbf..61db2c2 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ The more generic approach of wrapping the `completion-in-region-function` would completion-in-region-function))))) ``` -for whichever `completion-ui` you are using. +for whichever `completion-ui` you are using. Note that your completion UI must support the Emacs 28 `affixation-function' property. ## Configuration @@ -91,11 +91,10 @@ By default, `kind-icon` creates a blended background color that is a mix of a bi 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 on first use, icons are auto-downloaded by `svg-lib`, so you'll need a network connection. After that they are cached locally. +**Note that `svg-lib`, which `kind-icon` uses, downloads and caches icons in, 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**! - -  +  ### Old School: Text-based Icons!