aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-10-14 14:56:37 +1300
committerTom Ryder <tom@sanctum.geek.nz>2020-10-14 14:56:37 +1300
commitdee138eb8060ce2133606e4c8e85776132c61c95 (patch)
tree451bc66dc180bb3bc1912d2e99104dced240d6ea /autoload
parentMerge branch 'release/v2.2.0' (diff)
downloadvim-redact-pass-dee138eb8060ce2133606e4c8e85776132c61c95.tar.gz
vim-redact-pass-dee138eb8060ce2133606e4c8e85776132c61c95.zip
Add :redraw just before diagnostic print
Works around issues with some popular colorschemes in v8.1. Problem reported and fix suggested by Jeff Weston.
Diffstat (limited to 'autoload')
-rw-r--r--autoload/redact_pass.vim1
1 files changed, 1 insertions, 0 deletions
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