diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 02:34:09 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 02:34:09 +1200 |
commit | e667db41ebc868c63a735cc1e9711c10c3c2f321 (patch) | |
tree | ba2c5512f4be9ed930f226c4ea278f78ee10959a | |
parent | Split longish conditional (diff) | |
download | vim-shebang-change-filetype-e667db41ebc868c63a735cc1e9711c10c3c2f321.tar.gz vim-shebang-change-filetype-e667db41ebc868c63a735cc1e9711c10c3c2f321.zip |
Condense load guard
-rw-r--r-- | plugin/shebang_change_filetype.vim | 5 |
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 |