summaryrefslogtreecommitdiff
path: root/runtime/syntax/coco.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/coco.vim')
-rw-r--r--runtime/syntax/coco.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/syntax/coco.vim b/runtime/syntax/coco.vim
index 4094a5530..ae32348bc 100644
--- a/runtime/syntax/coco.vim
+++ b/runtime/syntax/coco.vim
@@ -5,9 +5,8 @@
" Remark: Coco/R syntax partially implemented.
" License: Vim license
-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