vim-gnupg
vim-gnupg copied to clipboard
Missing first 2 symbols on line 2 after opening file
I had to add this to vimrc as a workaround, but it probably should be fixed in plugin.
autocmd User GnuPG call timer_start(1, 'FixRedraw', {})
func FixRedraw(timer)
redraw!
endfunc
I also get this. This behaviour happens only when .vimrc contains 'set background=dark'.
As I noticed this after upgrading from a very old version of vim-gnupg, I bisected the git commits and found that the missing 2 characters start to occur in commit 380f05d2e956f37a6d992c2da20b05e052620053 . There's nothing obvious in this commit to me, so this could also be a vim bug.
Hmm. I also have 'set background=dark'.
Having the same trouble.
Ubuntu 20.04.2 LTS Vim 8.1
Doesn't matter what my background is set to. The workaround in the first post does seem to work but that seems "hacky."
EDIT: I also wanted to mention the fact that the first two "symbols" on line 2 are not actually missing. They are just hidden. If you yank that line and paste it below, the copy will display the characters/symbols.