From e49f87caa155afd7a9ea2d60f94e036b8bf09b1b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 12 May 2019 16:29:29 +1200 Subject: Remove unneeded variable scoping --- plugin/quickfix_auto_open.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/quickfix_auto_open.vim b/plugin/quickfix_auto_open.vim index 3b62675..63195da 100644 --- a/plugin/quickfix_auto_open.vim +++ b/plugin/quickfix_auto_open.vim @@ -5,13 +5,13 @@ " Author: Tom Ryder " License: Same as Vim itself " -if exists('g:loaded_quickfix_auto_open') || &compatible +if exists('loaded_quickfix_auto_open') || &compatible finish endif if !has('autocmd') || v:version < 700 finish endif -let g:loaded_quickfix_auto_open = 1 +let loaded_quickfix_auto_open = 1 " Open an appropriate quickfix or location list, depending on the command function! s:Open(command) abort -- cgit v1.2.3