summaryrefslogtreecommitdiff
path: root/runtime/syntax/netrw.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/netrw.vim')
-rw-r--r--runtime/syntax/netrw.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/syntax/netrw.vim b/runtime/syntax/netrw.vim
index 718cee142..3d3aa993b 100644
--- a/runtime/syntax/netrw.vim
+++ b/runtime/syntax/netrw.vim
@@ -5,9 +5,8 @@
" ---------------------------------------------------------------------
" Syntax Clearing: {{{1
-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