From 39ee3c4c17090f45f285467692e38df364dbb52f Mon Sep 17 00:00:00 2001 From: bth Date: Tue, 9 Jun 2026 12:58:45 -0700 Subject: [PATCH] minmo : defcustom minmo-status-alist --- packages/minmo.el | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/packages/minmo.el b/packages/minmo.el index 814abf9..071fb23 100644 --- a/packages/minmo.el +++ b/packages/minmo.el @@ -51,7 +51,7 @@ ;; top ◰◳ : staged/ignored : ready ;; bottom ◱◲ : modified/untracked : unready -(defconst minmo-status-alist +(defcustom minmo-status-alist '( (unmodified . (((unicode . "◻") (ascii . ".")) . ((disk . nil) (git . nil)))) (modified . (((unicode . "◱") (ascii . "*")) . ((disk . error) (git . warning)))) @@ -60,7 +60,20 @@ (untracked/buffer . (((unicode . "◲") (ascii . "!")) . ((disk . link) (git . error)))) ) "Unified symbol set for git and disk status with unicode and ascii variants - and their respective faces.") + and their respective faces." + :type '(alist + :key-type (symbol :tag "State") + :value-type + (cons :tag "Display" + (alist :tag "Character" + :key-type (symbol :tag "Encoding") + :value-type (string :tag "Symbol")) + (alist :tag "Faces" + :key-type (symbol :tag "Target: git or disk)") + :value-type (choice :tag "Face" + (face :tag "Face name") + (const :tag "None" nil))))) + ) (defcustom minmo-use-ascii nil "Whether to use ascii symbols instead of unicode. Defaults to ascii if