If I have the same file opened in 2 windows like such:  then formatting either buffer does this to the right buffer:  As talked about on Zulip: @kdheepak said: > I think what is happening is that when vim/neovim replaces the buffer contents, the view port messes up.