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

Highlights out of sync after reloading buffer #113

Open
blueyed opened this issue Oct 15, 2021 · 0 comments
Open

Highlights out of sync after reloading buffer #113

blueyed opened this issue Oct 15, 2021 · 0 comments

Comments

@blueyed
Copy link
Contributor

blueyed commented Oct 15, 2021

From time to time I'm running into an issue where the highlights are out of place.

With the following screenshot they are correct on the left side, but not the right one:

2021-10-15-143016_944x747_escrotum

The right window/buffer has been updated (via Neovim's W11: Warning: File … has changed since editing started. [O]K, (L)oad File).

The left window/buffer is the one from before the update (the old Git checkout - I've changed branches, which updated the file).

As you can see the highlights from the left side (old/initial buffer) are also used on the right side (new/reloaded buffer).

I have the feeling that it might be related to using set noautoread in the first place, but could not reproduce it currently yet.

This issue is meant to track debugging of this for now.

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

1 participant