diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-12 16:43:44 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-12 16:43:44 +1200 |
commit | 45994608884047cb2d549389c442d818ed254575 (patch) | |
tree | 36e746b2be54127a5284d813030f08fced03286a | |
parent | Switch to two-spacing (diff) | |
download | vim-redact-pass-45994608884047cb2d549389c442d818ed254575.tar.gz vim-redact-pass-45994608884047cb2d549389c442d818ed254575.zip |
Remove unneeded variable scoping
-rw-r--r-- | plugin/redact_pass.vim | 4 |
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() |