summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2013-01-01 21:26:44 +1300
committerStuart Rackham <srackham@methods.co.nz>2013-01-01 21:26:44 +1300
commit19114cbd2add3dd725e83f3a3106cf93ba34cc6e (patch)
tree84b0fa7915729ce48f9bce0a9c96f8acc024cac8
parentccf4c93a27c6f9fa4f05456eeeff30187ec8de0f (diff)
downloadasciidoc-19114cbd2add3dd725e83f3a3106cf93ba34cc6e.tar.gz
Vim syntax file: highlight line breaks (+ at EOL) in lists (patch
submitted by Alex Efros). See https://groups.google.com/group/asciidoc/browse_thread/thread/5145e4c0b65cde0a
-rw-r--r--vim/syntax/asciidoc.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/syntax/asciidoc.vim b/vim/syntax/asciidoc.vim
index 9c7fbfc..6401633 100644
--- a/vim/syntax/asciidoc.vim
+++ b/vim/syntax/asciidoc.vim
@@ -32,7 +32,7 @@ syn match asciidocBackslash /\\/
syn region asciidocIdMarker start=/^\$Id:\s/ end=/\s\$$/
syn match asciidocCallout /\\\@<!<\d\{1,2}>/
syn match asciidocOpenBlockDelimiter /^--$/
-syn match asciidocLineBreak /[ \t]+$/
+syn match asciidocLineBreak /[ \t]+$/ containedin=asciidocList
syn match asciidocRuler /^'\{3,}$/
syn match asciidocPagebreak /^<\{3,}$/
syn match asciidocEntityRef /\\\@<!&[#a-zA-Z]\S\{-};/