aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2024-04-27 12:47:56 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2024-04-27 12:51:35 +0200
commit8d29f416a9378d30f63c2a95f1bd1a420d9ccab4 (patch)
tree7c2f58bd3d8f7523167e5e9947088e7cf98078b6
parent0f8bb376b7c9ab1d24075d54b44919b4b4b29147 (diff)
downloadguix-8d29f416a9378d30f63c2a95f1bd1a420d9ccab4.tar
guix-8d29f416a9378d30f63c2a95f1bd1a420d9ccab4.tar.gz
gnu: Add emacs-format-all-the-code.
* gnu/packages/emacs-xyz.scm (emacs-format-all-the-code): New variable. Change-Id: I7c6cfae8d881a545ed683324823a71ba2bdd3e79
-rw-r--r--gnu/packages/emacs-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5dfd14d873..4abdf8502f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3253,6 +3253,31 @@ programming language used in an Emacs buffer.")
(home-page "https://github.com/lassik/emacs-language-id")
(license license:isc)))
+(define-public emacs-format-all-the-code
+ (package
+ (name "emacs-format-all-the-code")
+ (version "0.6.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lassik/emacs-format-all-the-code.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1p8bh96yksbpajx2pqxjc4vf7nfncwc3mvh1fcj8afw53g72is8m"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ (list emacs-inheritenv emacs-language-id))
+ (synopsis "Auto-format any source code")
+ (description "This package lets you auto-format source code in many
+languages using the same command for all languages, instead of learning
+a different Emacs package and formatting command for each language.
+Over 70 languages are supported, including Emacs Lisp, Kotlin, Go and
+Rust.")
+ (home-page "https://github.com/lassik/emacs-format-all-the-code")
+ (license license:expat)))
+
(define-public emacs-relative-buffers
(let ((release "0.0.1")
(revision "0")