aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-12 16:43:44 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-12 16:43:44 +1200
commit45994608884047cb2d549389c442d818ed254575 (patch)
tree36e746b2be54127a5284d813030f08fced03286a
parentSwitch to two-spacing (diff)
downloadvim-redact-pass-45994608884047cb2d549389c442d818ed254575.tar.gz
vim-redact-pass-45994608884047cb2d549389c442d818ed254575.zip
Remove unneeded variable scoping
-rw-r--r--plugin/redact_pass.vim4
1 files 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 <tom@sanctum.geek.nz>
" 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()