summaryrefslogtreecommitdiff
path: root/runtime/syntax/taskedit.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/taskedit.vim')
-rw-r--r--runtime/syntax/taskedit.vim7
1 files changed, 2 insertions, 5 deletions
diff --git a/runtime/syntax/taskedit.vim b/runtime/syntax/taskedit.vim
index 170153c0e..d33ca7865 100644
--- a/runtime/syntax/taskedit.vim
+++ b/runtime/syntax/taskedit.vim
@@ -4,11 +4,8 @@
" Updated: Wed Jul 8 19:46:32 EDT 2009
-" 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
let s:keepcpo= &cpo