From 6260067df233a44a5c6d45487c62f9b38f21334e Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Wed, 19 Jun 2019 21:55:22 -0400 Subject: [PATCH] gnu: Add emacs-highlight-indentation-guides * gnu/packages/emacs-xyz.scm (emacs-highlight-indent-guides): New variable. --- gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 6055d51..021a5d8 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -24156,3 +24156,29 @@ vc root directory, and for displaying and/or sorting by the vc status of listed files. ") (license license:gpl3))) + +(define-public emacs-highlight-indent-guides + (package + (name "emacs-highlight-indent-guides") + (version "20190108.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://melpa.org/packages/highlight-indent-guides-" + version + ".el")) + (sha256 + (base32 + "02imngb4y6f9vp4jxiwdbdcjxllvjwaa2rlh61zy49n2wivrlwh0")))) + (build-system emacs-build-system) + (home-page + "https://github.com/DarthFennec/highlight-indent-guides") + (synopsis "Minor mode to highlight indentation") + (description + "This minor mode highlights indentation levels via font-lock. Indent widths +are dynamically discovered, which means this correctly highlights in any +mode, regardless of indent width, even in languages with non-uniform +indentation such as Haskell. This mode works properly around hard tabs and +mixed indentation, and it behaves well in large buffers.") + (license #f)))