Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing first 2 symbols on line 2 after opening file #110

Open
powerman opened this issue Feb 9, 2020 · 3 comments
Open

Missing first 2 symbols on line 2 after opening file #110

powerman opened this issue Feb 9, 2020 · 3 comments

Comments

@powerman
Copy link
Contributor

powerman commented Feb 9, 2020

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
@tpikonen
Copy link

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 380f05d . There's nothing obvious in this commit to me, so this could also be a vim bug.

@powerman
Copy link
Contributor Author

Hmm. I also have 'set background=dark'.

@chey
Copy link

chey commented Mar 2, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants