branch: elpa/adoc-mode
commit 7a28db189240c4e6dd3138ef8527b25a837fb4ec
Author: Tobias Zawada <[email protected]>
Commit: TobiasZawada <[email protected]>

    #44 Separate one-line header from next text block by paragraph-separate
---
 adoc-mode.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/adoc-mode.el b/adoc-mode.el
index 3aadca4bd4..3db17a18fb 100644
--- a/adoc-mode.el
+++ b/adoc-mode.el
@@ -1487,7 +1487,10 @@ Subgroups of returned regexp:
    "--"
    "\\)"
    "[ \t]*$"
-   ))
+
+   ;; one line titles and block titles 
(https://docs.asciidoctor.org/asciidoc/latest/blocks/add-title/#block-title-syntax)
+   "\\|"
+   "[=.].*$"))
 
 ;; TODO: use same regexps as for font lock
 (defun adoc-re-paragraph-start ()
@@ -1512,10 +1515,7 @@ Subgroups of returned regexp:
    ;; table rows
    "\\|"
    "|"
-
-   ;; one line titles
-   "\\|"
-   "[=.].*$"))
+))
 
 (defun adoc-re-aor(e1 e2)
   "all or: Returns a regex matching \(e1\|e2\|e1e2\)? "

Reply via email to