From cb5fb95a811e938386d5a5cef3f85fc3bf0a4f04 Mon Sep 17 00:00:00 2001 From: Andy Wokula Date: Sun, 18 Dec 2016 17:32:45 +0100 Subject: [PATCH] Remove loading guards not needed in autoload scripts --- autoload/nerdcommenter.vim | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/autoload/nerdcommenter.vim b/autoload/nerdcommenter.vim index 4604219..89a8291 100644 --- a/autoload/nerdcommenter.vim +++ b/autoload/nerdcommenter.vim @@ -14,14 +14,7 @@ " ============================================================================ " Section: script init stuff {{{1 -if exists("loaded_nerd_comments") - finish -endif -if v:version < 700 - echoerr "NERDCommenter: this plugin requires vim >= 7. DOWNLOAD IT! You'll thank me later!" - finish -endif -let loaded_nerd_comments = 1 +let nerdcommenter#loaded = 1 " Function: s:InitVariable() function {{{2 " This function is used to initialise a given variable to a given value. The