summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2008-08-29 10:32:09 +1200
committerStuart Rackham <srackham@methods.co.nz>2008-08-29 10:32:09 +1200
commitb0f17e10f79f33e6dd382dbb60ffd80a0caaf58d (patch)
tree449f1336188835024aea483758deeb02f95fbfa9 /vim
parentc8864894ee10c744b7e72d392a8aa52c59dca5ab (diff)
downloadasciidoc-b0f17e10f79f33e6dd382dbb60ffd80a0caaf58d.tar.gz
Added IRC URLs to AsciiDoc inline macros.
Diffstat (limited to 'vim')
-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 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\+.*\)\@=/