summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLiam Hupfer <liam@hpfr.net>2025-07-18 23:28:22 -0500
committerjgart <jgart@dismail.de>2025-08-11 11:48:55 -0500
commitd2129679340e4d735af518b71ea9b539a8b61a74 (patch)
tree3c03ef3ec1f1797f8ccfdd75a553856decd47973 /gnu
parentda088c622aa6dc3760936b2dd0295bd944c80095 (diff)
gnu: Add emacs-colorful-mode.
* gnu/packages/emacs-xyz.scm (emacs-colorful-mode): New variable. Change-Id: I41bedcb724883f2e33ecdd06efaad886c914f373 Signed-off-by: jgart <jgart@dismail.de>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 77ffc25dfee..86ab5354f61 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -17694,6 +17694,34 @@ of its name.")
names, e.g., @samp{#0000ff} is displayed in white with a blue background.")
(license license:gpl3+)))
+(define-public emacs-colorful-mode
+ (package
+ (name "emacs-colorful-mode")
+ (version "1.2.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/DevelopmentCool2449/colorful-mode")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1cm5bpw2x15h6pf5vxcp2f7jf1rkpnq7qq8idlv9n9p5nnxwik1d"))))
+ (build-system emacs-build-system)
+ ;; No automated tests. The test directory contains sample files for
+ ;; visual inspection.
+ (arguments (list #:tests? #f))
+ (propagated-inputs (list emacs-compat))
+ (home-page "https://github.com/DevelopmentCool2449/colorful-mode")
+ (synopsis "Highlight color strings in buffers")
+ (description
+ "@code{colorful-mode} is a minor mode to highlight any color
+format, such as hex codes or HTML color names, in buffers in real time. It is
+inspired by @code{rainbow-mode} but uses overlays instead of text properties
+to support a different feature set. It also supports conversion of color
+strings between formats.")
+ (license license:gpl3+)))
+
(define-public emacs-indent-bars
(package
(name "emacs-indent-bars")