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

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

[nongnu] elpa/adoc-mode 46c99fbd51 006/199: bugfix in font lock regexp f


From: ELPA Syncer
Subject: [nongnu] elpa/adoc-mode 46c99fbd51 006/199: bugfix in font lock regexp for comments
Date: Sun, 3 Sep 2023 06:59:11 -0400 (EDT)

branch: elpa/adoc-mode
commit 46c99fbd511e4adaf37dfc0678b2900bd1c4061f
Author: Florian Kaufmann <sensorflo@gmail.com>
Commit: Florian Kaufmann <sensorflo@gmail.com>

    bugfix in font lock regexp for comments
---
 adoc-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/adoc-mode.el b/adoc-mode.el
index cdd49fe447..869e5e0ccc 100644
--- a/adoc-mode.el
+++ b/adoc-mode.el
@@ -999,7 +999,7 @@ When LITERAL-P is non-nil, the contained text is literal 
text."
          '(1 '(face adoc-delimiter adoc-reserved t))) 
    ;; comment
    ;; ^//(?P<passtext>[^/].*|)$=#comment[normal]
-   (list "^\\(//.*\n\\)"
+   (list "^\\(//\\(?:[^/].*\\|\\)\n\\)"
          '(1 '(face adoc-comment adoc-reserved t)))    
    ;; image
    (list "^\\(\\(image::\\)\\([^ \t\n]*?\\)\\(\\[.*?\\]\\)\\)[ \t]*$"



reply via email to

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