summaryrefslogtreecommitdiff
path: root/runtime/syntax/flexwiki.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/flexwiki.vim')
-rw-r--r--runtime/syntax/flexwiki.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/syntax/flexwiki.vim b/runtime/syntax/flexwiki.vim
index 34f893d92..6b15ab2d9 100644
--- a/runtime/syntax/flexwiki.vim
+++ b/runtime/syntax/flexwiki.vim
@@ -14,10 +14,8 @@
" regexes, which use a different syntax than Vim (fewer \s).
" The primary test case is FlexWiki\FormattingRules.wiki
-" Quit if syntax file is 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