diff options
Diffstat (limited to 'syntax/markdown.vim')
-rw-r--r-- | syntax/markdown.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/syntax/markdown.vim b/syntax/markdown.vim index eeda03da..2c4d7951 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -11,7 +11,7 @@ endif " Read the HTML syntax to start with -if version < 600 +if v:version < 600 so <sfile>:p:h/html.vim else runtime! syntax/html.vim @@ -21,14 +21,14 @@ else endif endif -if version < 600 +if v:version < 600 syntax clear -elseif exists("b:current_syntax") +elseif exists('b:current_syntax') finish endif " don't use standard HiLink, it will not work with included syntax files -if version < 508 +if v:version < 508 command! -nargs=+ HtmlHiLink hi link <args> else command! -nargs=+ HtmlHiLink hi def link <args> @@ -182,7 +182,7 @@ HtmlHiLink mkdLinkDefTarget mkdURL HtmlHiLink mkdLinkTitle htmlString HtmlHiLink mkdDelimiter Delimiter -let b:current_syntax = "mkd" +let b:current_syntax = 'mkd' delcommand HtmlHiLink " vim: ts=8 |