diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2022-02-17 04:31:35 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2022-02-17 04:31:45 +0100 |
commit | b77c5f11070ecb2ff343aa18b4ea859e6168f16c (patch) | |
tree | c93d347b096ce19556f369428913b697e6aafa00 /syntax/markdown.vim | |
parent | 2c5af8f89d3e61e04e761c07a1f043b0f35203c6 (diff) | |
download | vim-polyglot-b77c5f11070ecb2ff343aa18b4ea859e6168f16c.tar.gz vim-polyglot-b77c5f11070ecb2ff343aa18b4ea859e6168f16c.zip |
Update
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 |