macvim-dev / macvim

Vim - the text editor - for macOS
https://macvim.org
Vim License
7.53k stars 685 forks source link

buffer renamed "expand(" on save #1216

Open msprev opened 3 years ago

msprev commented 3 years ago

This issue has plagued me for years in MacVim and I have not been able to identify the source. It is intermittent, and occurs roughly 1 every 100 hundred saves (so probably 2 or 3 times per day). I cannot say what triggers it but I have not been able to make it go away. Any advice or fix gratefully received.

What happens:

Environment

eirnym commented 3 years ago

Hey @msprev Could you share your configuration for an investigation?

I never had such situation and I suppose that somewhere there's a small bug.

msprev commented 3 years ago

Thank you! I've pasted my vimrc configuration here if you can spot anything there that would cause it: https://gist.github.com/msprev/95271315a2357ab985b963e800b5a73f