Added a new keyword to `use-package`, `:spacediminish` which calls `spacemacs|diminish`. Supported patterns: - nil - SYMBOL - STRING - (SYMBOL STRING) - (STRING STRING) - (SYMBOL STRING STRING) - List of patterns above When `SYMBOL` is missing, it's inferred from the package name, e.g `(use-package foo :spacediminish nil)` becomes `(use-package foo :spacediminish foo-mode)`. This PR aims to replace explict calls to `spacemacs|diminish` and brings more declarative flavour to layer configuration. For example, the following form ```elisp (use-package highlight-indentation :config (progn (spacemacs|diminish highlight-indentation-mode " ⓗi" " hi") (spacemacs|diminish highlight-indentation-current-column-mode " ⓗc" " hc"))) ``` can be replaced by ```elisp (use-package highlight-indentation :spacediminish ((" ⓗi" " hi") (highlight-indentation-current-column-mode " ⓗc" " hc"))) ``` |
||
---|---|---|
.. | ||
spacemacs | ||
spacemacs-base | ||
spacemacs-bootstrap |