Subject: [PATCH] gnu: Add emacs-indent-bars.

From: Olivier Rojon <[email-masked]>
Date: Sat, 11 Jan 2025 10:19:30 +0000

* gnu/packages/emacs-xyz.scm (emacs-indent-bars): New variable.

Change-Id: I4181674a0723d44e873a0607e0a89af710c9b6f4
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 784fe767bc..7d256f30bf 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16217,6 +16217,31 @@ (define-public emacs-rainbow-mode
 names, e.g., @samp{#0000ff} is displayed in white with a blue background.")
     (license license:gpl3+)))
 
+(define-public emacs-indent-bars
+  (package
+    (name "emacs-indent-bars")
+    (version "0.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://elpa.gnu.org/packages/indent-bars-"
+                           version ".tar"))
+       (sha256
+        (base32 "1bhdrykkklsscgiz3p29x8kdkw0kbc4mlpnhxghvphx159clhgym"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-compat))
+    (home-page "https://github.com/jdtsmith/indent-bars")
+    (synopsis "Highlight indentation with bars")
+    (description
+     "indent-bars highlights indentation with configurable vertical
+graphical bars, using stipples.  The color and appearance (weight,
+pattern, position within the character, zigzag, etc.) are all
+configurable.  indent-bars works in any mode using fixed
+tab or space-based indentation.  In the terminal (or on request) it
+uses vertical bar characters instead of stipple patterns.  Optional
+treesitter support is also available; see indent-bars-ts.el.")
+    (license license:gpl3)))
+
 (define-public emacs-ryo-modal
   ;; Package has no release.  Version is extracted from "Version:" keyword in
   ;; main file.
-- 
2.47.1