guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

62/88: gnu: Add emacs-highlight-numbers.


From: Oleg Pykhalov
Subject: 62/88: gnu: Add emacs-highlight-numbers.
Date: Wed, 2 May 2018 13:21:15 -0400 (EDT)

wigust pushed a commit to branch master
in repository guix.

commit a79cf99c8b14d11ec23617f7e076e5ccae1d06cd
Author: Oleg Pykhalov <address@hidden>
Date:   Wed May 2 19:08:21 2018 +0300

    gnu: Add emacs-highlight-numbers.
    
    * gnu/packages/emacs.scm (emacs-highlight-numbers): New public variable.
---
 gnu/packages/emacs.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 78b0453..d2bccdc 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -9612,3 +9612,29 @@ one place.  It's fast, because you're not leaving the 
current buffer, and all
 you do is enter the code you'd enter anyway, just placing ~ where you'd like
 yasnippet fields and mirrors to be.")
       (license license:gpl3+))))
+
+(define-public emacs-highlight-numbers
+  (package
+    (name "emacs-highlight-numbers")
+    (version "0.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/Fanael/highlight-numbers/archive/";
+             version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "030v5p11d4n0581ncv499l1fqrmfziy756q6378x2bv22ixghqqp"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-parent-mode" ,emacs-parent-mode)))
+    (home-page "https://github.com/Fanael/highlight-numbers";)
+    (synopsis "Highlight numbers in source code")
+    (description "@code{highlight-numbers-mode} provides a minor mode for
+syntax highlighting of numeric literals in source code.
+
+It s customizable: it's easy to add or redefine what exactly consitutes a
+\"number\" in given major mode.  See @code{highlight-numbers-modelist}.")
+    (license license:gpl3+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]