vint: Use v:version
This commit is contained in:
parent
d37b228985
commit
5cff46c7d5
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
" For version 5.x: Clear all syntax items
|
" For version 5.x: Clear all syntax items
|
||||||
" For version 6.x: Quit when a syntax file was already loaded
|
" For version 6.x: Quit when a syntax file was already loaded
|
||||||
if version < 600
|
if v:version < 600
|
||||||
syntax clear
|
syntax clear
|
||||||
elseif exists('b:current_syntax')
|
elseif exists('b:current_syntax')
|
||||||
finish
|
finish
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue