Skip to content

Commit

Permalink
refactor: Make variable scope explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Feb 9, 2022
1 parent 18ed14a commit 6002243
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions syntax/markdown.vim
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


" 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
Expand All @@ -17,14 +17,14 @@ else
endif
endif

if version < 600
if v:version < 600
syntax clear
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>
Expand Down

0 comments on commit 6002243

Please sign in to comment.