From 157b835b53c82ad7d52cc5083683eb3129429128 Mon Sep 17 00:00:00 2001 From: Ben Williams Date: Fri, 16 Nov 2012 14:43:37 -0500 Subject: [PATCH] Another take on strong and emphasis that tries to implement Github flavored markdown ignoring of multiple underscores in a word. --- syntax/mkd.vim | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/syntax/mkd.vim b/syntax/mkd.vim index 4dfc0b4..56f219a 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -36,12 +36,12 @@ syn case ignore syn sync linebreaks=1 "additions to HTML groups -syn region htmlItalic start="\(^\|\s\)\@<=\*" end="\*\($\|\s\)\@=" keepend -syn region htmlItalic start="\(^\|\s\)\@<=_" end="_\($\|\s\)\@=" keepend -syn region htmlBold start="\(^\|\s\)\@<=\*\*" end="\*\*\($\|\s\)\@=" keepend -syn region htmlBold start="\(^\|\s\)\@<=__" end="__\($\|\s\)\@=" keepend -syn region htmlBoldItalic start="\(^\|\s\)\@<=\*\*\*" end="\*\*\*\($\|\s\)\@=" keepend -syn region htmlBoldItalic start="\(^\|\s\)\@<=___" end="___\($\|\s\)\@=" keepend +syn region htmlItalic start="\\\@