aboutsummaryrefslogtreecommitdiff
path: root/plugin/shebang_change_filetype.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/shebang_change_filetype.vim')
-rw-r--r--plugin/shebang_change_filetype.vim5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugin/shebang_change_filetype.vim b/plugin/shebang_change_filetype.vim
index 69a4ad5..0bb1e51 100644
--- a/plugin/shebang_change_filetype.vim
+++ b/plugin/shebang_change_filetype.vim
@@ -5,10 +5,7 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('loaded_shebang_change_filetype') || &compatible
- finish
-endif
-if !has('autocmd') || v:version < 700
+if exists('loaded_shebang_change_filetype') || &compatible || v:version < 700
finish
endif
let loaded_shebang_change_filetype = 1