summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc/core/doc.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/core/doc.kak b/rc/core/doc.kak
index a2cd987c..9dced7b5 100644
--- a/rc/core/doc.kak
+++ b/rc/core/doc.kak
@@ -102,7 +102,7 @@ define-command -params 1 -hidden doc-render %{
doc-parse-anchors
# Join paragraphs together
- try %{ execute-keys -draft \%S \n{2,}|(?<=\+)\n|^[^\n]+::\n|\n\h*[-*] <ret> <a-K>^-{2,}(\n|\z)<ret> S\n\z<ret> <a-k>\n<ret> <a-j> }
+ try %{ execute-keys -draft \%S \n{2,}|(?<=\+)\n|^[^\n]+::\n <ret> <a-K>^\h*-{2,}(\n|\z)<ret> S\n\z<ret> <a-k>\n<ret> <a-j> }
# Remove some line end markers
try %{ execute-keys -draft \%s \h*(\+|:{2,})$ <ret> d }