From e667db41ebc868c63a735cc1e9711c10c3c2f321 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 29 May 2019 02:34:09 +1200 Subject: Condense load guard --- plugin/shebang_change_filetype.vim | 5 +---- 1 file changed, 1 insertion(+), 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 " 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 -- cgit v1.2.3