summaryrefslogtreecommitdiff
path: root/runtime/syntax/lex.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/lex.vim')
-rw-r--r--runtime/syntax/lex.vim7
1 files changed, 2 insertions, 5 deletions
diff --git a/runtime/syntax/lex.vim b/runtime/syntax/lex.vim
index b7aff34d6..83eb212f2 100644
--- a/runtime/syntax/lex.vim
+++ b/runtime/syntax/lex.vim
@@ -8,11 +8,8 @@
" Option:
" lex_uses_cpp : if this variable exists, then C++ is loaded rather than C
-" For version 5.x: Clear all syntax items
-" For version 6.x: Quit when a syntax file was already loaded
-if version < 600
- syntax clear
-elseif exists("b:current_syntax")
+" quit when a syntax file was already loaded
+if exists("b:current_syntax")
finish
endif