Closed ts826848 closed 7 years ago
if you build a homebrew normal version, does it also occur?
Sure. Homebrew builds normal by default, and doesn't normally provide the option to build vim's normal version, but that should be a pretty straightforward fix. It'll be a bit, though; got some meetings...
Well, I can't seem to replicate the behavior at all now, even with Apple's vim. Guess I should close this. Sorry for the noise
When I open a certain file that has a .swp file hanging around, the swap file detected message shows up briefly before nearly instantly changing to the editor with bits and pieces of the swap message still hanging around. The editor remains this way until I perform almost any action.
Example:
Better-ish version here.
It isn't obvious in the gif, but between the file opening and the screen returning to a normal state I'm mashing the k key. The other movement keys appear to also make the screen return to a normal state.
Something similar occurs when cepa.hpp is empty:
Link
I'm on macOS 10.13 beta. This happens on the built-in vim, but not on vim installed from Homebrew nor Neovim. I'm not sure whether this should be considered an issue for here or for vim itself, so let me know if it's someone else's problem.
Here are the files in question. I had to change the file extensions to get GitHub to allow me to attach the files. Just strip the .txt off and add a leading dot to the .swp file.
cepa.hpp.txt cepa.hpp.swp.txt
git bisect
tells me that the problematic commit is35ca3f5ec263c5b1dbba2c3e373306e20343227d
, but it's not immediately obvious to me what the problem is, otherwise I would have submitted a PR instead of opening an issue.Result of macOS's
vim --version
:Result of brew's
vim --version
: