From 45994608884047cb2d549389c442d818ed254575 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 12 May 2019 16:43:44 +1200 Subject: Remove unneeded variable scoping --- plugin/redact_pass.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/redact_pass.vim b/plugin/redact_pass.vim index a3d67e8..47c422d 100644 --- a/plugin/redact_pass.vim +++ b/plugin/redact_pass.vim @@ -8,13 +8,13 @@ " Author: Tom Ryder " License: Same as Vim itself " -if exists('g:loaded_redact_pass') || &compatible +if exists('loaded_redact_pass') || &compatible finish endif if !has('autocmd') || v:version < 600 finish endif -let g:loaded_redact_pass = 1 +let loaded_redact_pass = 1 " Check whether we should set redacting options or not function! s:CheckArgsRedact() -- cgit v1.2.3