emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/indent-bars 00c4e12bbd 036/431: allow highlighting sing


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 00c4e12bbd 036/431: allow highlighting single blank lines
Date: Mon, 16 Sep 2024 12:59:11 -0400 (EDT)

branch: externals/indent-bars
commit 00c4e12bbd865439a51ee6f1d08ce31a87e20947
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    allow highlighting single blank lines
---
 indent-bars.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indent-bars.el b/indent-bars.el
index 3cb8a01c86..a37a49b80a 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -798,7 +798,7 @@ Adapted from `highlight-indentation-mode'."
           (1 (indent-bars--display)))))
   (font-lock-add-keywords nil indent-bars--font-lock-keywords t)
   (if indent-bars-display-on-blank-lines
-      (let ((re (rx bol (+ (or ?\s ?\n)) eol)))
+      (let ((re (rx bol (* (or ?\s ?\t ?\n)) eol)))
        (setq indent-bars--font-lock-blank-line-keywords
              `((,re (0 (indent-bars--handle-blank-lines)))))
        (font-lock-add-keywords nil indent-bars--font-lock-blank-line-keywords 
t)



reply via email to

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