[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/marginalia 091895b 092/241: fix #23
From: |
Stefan Monnier |
Subject: |
[elpa] externals/marginalia 091895b 092/241: fix #23 |
Date: |
Fri, 28 May 2021 20:49:03 -0400 (EDT) |
branch: externals/marginalia
commit 091895bd17bd59aaf27531440091231be1757876
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
fix #23
---
marginalia.el | 132 ++++++++++++++++++++++++++++++----------------------------
1 file changed, 69 insertions(+), 63 deletions(-)
diff --git a/marginalia.el b/marginalia.el
index 7d74302..82e0526 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -39,69 +39,6 @@
:group 'convenience
:prefix "marginalia-")
-(defface marginalia-key
- '((t :inherit font-lock-keyword-face))
- "Face used to highlight keys in `marginalia-mode'.")
-
-(defface marginalia-lighter
- '((t :inherit marginalia-size))
- "Face used to highlight lighters in `marginalia-mode'.")
-
-(defface marginalia-on
- '((t :inherit success))
- "Face used to signal enabled modes.")
-
-(defface marginalia-off
- '((t :inherit error))
- "Face used to signal disabled modes.")
-
-(defface marginalia-documentation
- '((t :inherit completions-annotations))
- "Face used to highlight documentation string in `marginalia-mode'.")
-
-(defface marginalia-variable
- '((t :inherit marginalia-key))
- "Face used to highlight variable values in `marginalia-mode'.")
-
-(defface marginalia-mode
- '((t :inherit marginalia-key))
- "Face used to highlight major modes in `marginalia-mode'.")
-
-(defface marginalia-date
- '((t :inherit marginalia-key))
- "Face used to highlight dates in `marginalia-mode'.")
-
-(defface marginalia-version
- '((t :inherit marginalia-size))
- "Face used to highlight package version in `marginalia-mode'.")
-
-(defface marginalia-archive
- '((t :inherit warning))
- "Face used to highlight package archives in `marginalia-mode'.")
-
-(defface marginalia-installed
- '((t :inherit success))
- "Face used to highlight package status in `marginalia-mode'.")
-
-(defface marginalia-size
- '((t :inherit font-lock-constant-face))
- "Face used to highlight sizes in `marginalia-mode'.")
-
-(defface marginalia-modified
- '((t :inherit font-lock-negation-char-face))
- "Face used to highlight modification indicators in `marginalia-mode'.")
-
-(defface marginalia-file-name
- '((t :inherit marginalia-documentation))
- "Face used to highlight file names in `marginalia-mode'.")
-
-(defface marginalia-file-modes
- '((t :inherit font-lock-string-face))
- "Face used to highlight file modes in `marginalia-mode'.")
-
-(defface marginalia-file-owner
- '((t :inherit font-lock-preprocessor-face))
- "Face used to highlight file owners in `marginalia-mode'.")
(defcustom marginalia-truncate-width 80
"Maximum truncation width of annotation fields.
@@ -191,6 +128,75 @@ determine it."
"Associate commands with a completion category."
:type '(alist :key-type symbol :value-type symbol))
+(defgroup marginalia-faces nil
+ "Faces used by `marginalia-mode'."
+ :group 'marginalia
+ :group 'faces)
+
+(defface marginalia-key
+ '((t :inherit font-lock-keyword-face))
+ "Face used to highlight keys in `marginalia-mode'.")
+
+(defface marginalia-lighter
+ '((t :inherit marginalia-size))
+ "Face used to highlight lighters in `marginalia-mode'.")
+
+(defface marginalia-on
+ '((t :inherit success))
+ "Face used to signal enabled modes.")
+
+(defface marginalia-off
+ '((t :inherit error))
+ "Face used to signal disabled modes.")
+
+(defface marginalia-documentation
+ '((t :inherit completions-annotations))
+ "Face used to highlight documentation string in `marginalia-mode'.")
+
+(defface marginalia-variable
+ '((t :inherit marginalia-key))
+ "Face used to highlight variable values in `marginalia-mode'.")
+
+(defface marginalia-mode
+ '((t :inherit marginalia-key))
+ "Face used to highlight major modes in `marginalia-mode'.")
+
+(defface marginalia-date
+ '((t :inherit marginalia-key))
+ "Face used to highlight dates in `marginalia-mode'.")
+
+(defface marginalia-version
+ '((t :inherit marginalia-size))
+ "Face used to highlight package version in `marginalia-mode'.")
+
+(defface marginalia-archive
+ '((t :inherit warning))
+ "Face used to highlight package archives in `marginalia-mode'.")
+
+(defface marginalia-installed
+ '((t :inherit success))
+ "Face used to highlight package status in `marginalia-mode'.")
+
+(defface marginalia-size
+ '((t :inherit font-lock-constant-face))
+ "Face used to highlight sizes in `marginalia-mode'.")
+
+(defface marginalia-modified
+ '((t :inherit font-lock-negation-char-face))
+ "Face used to highlight modification indicators in `marginalia-mode'.")
+
+(defface marginalia-file-name
+ '((t :inherit marginalia-documentation))
+ "Face used to highlight file names in `marginalia-mode'.")
+
+(defface marginalia-file-modes
+ '((t :inherit font-lock-string-face))
+ "Face used to highlight file modes in `marginalia-mode'.")
+
+(defface marginalia-file-owner
+ '((t :inherit font-lock-preprocessor-face))
+ "Face used to highlight file owners in `marginalia-mode'.")
+
;;;; Pre-declarations for external packages
(defvar package--builtins)
- [elpa] externals/marginalia 2b926ae 190/241: Avoid annotations for host and remote path completions, (continued)
- [elpa] externals/marginalia 2b926ae 190/241: Avoid annotations for host and remote path completions, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia e4b3fcd 191/241: marginalia--remote-p: handle shadow paths, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 3210152 033/241: add comment to marginalia--full-candidate, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia f9ca52c 032/241: Fallback for when full candidate is requested outside of minibuffer, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 6789da8 034/241: fix typo in marginalia-set-command-annotator, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia f39556b 043/241: fix marginalia--full-candidate for selectrum, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia fe5d5db 047/241: add faces: marginalia-file-modes, marginalia-file-owner, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 2eec2dc 060/241: fix warnings, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia d0afe4a 068/241: add melpa badge, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 7394690 078/241: add marginalia-annotate-virtual-buffer for consult-buffer, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 091895b 092/241: fix #23,
Stefan Monnier <=
- [elpa] externals/marginalia 331b24a 093/241: check default-boundp too, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 2864c8e 105/241: fix #31, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 5052240 114/241: annotate-buffer: use mode-name instead of major-mode, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia c1296db 108/241: introduce marginalia-margin-min, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia db18b0e 152/241: Add support for hidden consult buffers, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 6057427 164/241: autocompute marginalia-align-offset if it is not overwritten, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 206518b 163/241: add marginalia-align-offset, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia a5ce6aa 207/241: Work around `completion-boundaries' bug in Emacs 27.1, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia e41d939 206/241: Revert "Go back and use full minibuffer-contents for marginalia--full-file", Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 95c0bb3 205/241: Go back and use full minibuffer-contents for marginalia--full-file, Stefan Monnier, 2021/05/28