diff options
author | Stuart Rackham <srackham@methods.co.nz> | 2008-08-29 10:32:09 +1200 |
---|---|---|
committer | Stuart Rackham <srackham@methods.co.nz> | 2008-08-29 10:32:09 +1200 |
commit | b0f17e10f79f33e6dd382dbb60ffd80a0caaf58d (patch) | |
tree | 449f1336188835024aea483758deeb02f95fbfa9 /vim | |
parent | c8864894ee10c744b7e72d392a8aa52c59dca5ab (diff) | |
download | asciidoc-b0f17e10f79f33e6dd382dbb60ffd80a0caaf58d.tar.gz |
Added IRC URLs to AsciiDoc inline macros.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/syntax/asciidoc.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/syntax/asciidoc.vim b/vim/syntax/asciidoc.vim index 9590336..e3817f8 100644 --- a/vim/syntax/asciidoc.vim +++ b/vim/syntax/asciidoc.vim @@ -30,7 +30,7 @@ syn match asciidocRuler /^'\{4,}$/ syn region asciidocLiteralParagraph start=/^\n[ \t]\+\(\([^-*. \t] \)\|\(\S\S\)\)/ end=/\(^+\?\s*$\)\@=/ syn match asciidocListBullet /^\s*[-*+]\s/ syn match asciidocListNumber /^\s*\(\(\d\+\.\)\|\.\{1,2}\|\(\l\.\)\)\s\+/ -syn match asciidocURL /\\\@<!\<\(http\|https\|ftp\|file\):\/\/[^| \t]*\(\w\|\/\)/ +syn match asciidocURL /\\\@<!\<\(http\|https\|ftp\|file\|irc\):\/\/[^| \t]*\(\w\|\/\)/ syn match asciidocEmail /\\\@<!\(\<\|<\)\w\(\w\|[.-]\)*@\(\w\|[.-]\)*\w>\?[0-9A-Za-z_.]\@!/ syn match asciidocAttributeRef /\\\@<!{\w\(\w\|-\)*\([=!@#$%?:].*\)\?}/ syn match asciidocAdmonition /^\u\{3,15}:\(\s\+.*\)\@=/ |