aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-10-14 14:13:51 +0200
committerTom Ryder <tom@sanctum.geek.nz>2020-10-14 14:13:51 +0200
commitf152064da9832d6d3d2b4e75f43f63bf2d50716f (patch)
treea98f310cae7871965ec652ca7127b4ef7cf11dc3
parent06f499994071bb6131244218b25d637103afe1d5 (diff)
downloadpass-f152064da9832d6d3d2b4e75f43f63bf2d50716f.tar.zst
Add a :redraw to redact_pass.vim before diag print
Works around issues with some popular colorschemes in v8.1. Problem reported and fix suggested by Jeff Weston.
-rw-r--r--contrib/vim/redact_pass.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/vim/redact_pass.vim b/contrib/vim/redact_pass.vim
index a3d67e8..008c8c1 100644
--- a/contrib/vim/redact_pass.vim
+++ b/contrib/vim/redact_pass.vim
@@ -35,6 +35,7 @@ function! s:CheckArgsRedact()
" 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