summaryrefslogtreecommitdiff
path: root/runtime/syntax/datascript.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/datascript.vim')
-rw-r--r--runtime/syntax/datascript.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/syntax/datascript.vim b/runtime/syntax/datascript.vim
index a983b8e34..7b686a144 100644
--- a/runtime/syntax/datascript.vim
+++ b/runtime/syntax/datascript.vim
@@ -8,9 +8,8 @@
"
" http://dstools.sourceforge.net/DataScriptLanguageOverview.html
-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