diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | doc/redact_pass.txt | 6 | ||||
-rw-r--r-- | plugin/redact_pass.vim | 4 |
4 files changed, 7 insertions, 7 deletions
@@ -15,7 +15,7 @@ whenever you `pass edit`: License ------- -Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself. +Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself. See `:help license`. [1]: https://sanctum.geek.nz/ @@ -1 +1 @@ -1.2.0 +1.3.0 diff --git a/doc/redact_pass.txt b/doc/redact_pass.txt index f2e6fff..03e30f5 100644 --- a/doc/redact_pass.txt +++ b/doc/redact_pass.txt @@ -15,13 +15,13 @@ printed whenever you `pass edit`: REQUIREMENTS *redact_pass-requirements* -This plugin is only available if 'compatible' is not set. It also requires the -|+autocmd| feature. +This plugin is only available if 'compatible' is not set. It also requires +the |+autocmd| feature. IMPLEMENTATION *redact_pass-implementation* The options are disabled globally rather than attempting to set them local to -the buffer only, which was the flawed approach of previous versions. This is +the buffer only, which was the flawed approach of previous versions. This is mostly because of the 'viminfo' option; it's global, and there's no meaningful way to exclude information from the sensitive buffer from appearing in it. 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() |