diff options
-rw-r--r-- | plugin/quickfix_auto_open.vim | 4 |
1 files 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 <tom@sanctum.geek.nz> " 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 |