aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--autoload/redact_pass.vim1
-rw-r--r--plugin/redact_pass.vim6
3 files changed, 8 insertions, 1 deletions
diff --git a/VERSION b/VERSION
index ccbccc3..b1b25a5 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.2.0
+2.2.2
diff --git a/autoload/redact_pass.vim b/autoload/redact_pass.vim
index afcf6e4..4fb1a1f 100644
--- a/autoload/redact_pass.vim
+++ b/autoload/redact_pass.vim
@@ -18,6 +18,7 @@ function! redact_pass#() abort
" Tell the user what we're doing so they know this worked, via a message and
" a global variable they can check
+ redraw
echomsg 'Editing password file--disabled leaky options!'
let g:redact_pass_redacted = 1
diff --git a/plugin/redact_pass.vim b/plugin/redact_pass.vim
index 14705ac..bcb9227 100644
--- a/plugin/redact_pass.vim
+++ b/plugin/redact_pass.vim
@@ -21,4 +21,10 @@ augroup redact_pass
\,$TMPDIR/pass.?*/?*.txt
\,/tmp/pass.?*/?*.txt
\ call redact_pass#()
+ " Work around macOS' dynamic symlink structure for temporary directories
+ if has('mac')
+ autocmd VimEnter
+ \ /private/var/?*/pass.?*/?*.txt
+ \ call redact_pass#()
+ endif
augroup END