I'm using git and vim. My buddy is using git and TextMate. I ran into an issue today where I added a file using vim and git. He modified it in TextMate. I then pulled his change. I added a few lines, but the coffeescript compiler (and vim-coffee-script) threw a fit because they didn't recognize my newlines. So, I ran :set ff and it shows mac now, where it used to show unix.
Why is coffeescript not recognizing the newlines? And how can I prevent this from occurring in the future, either with my git or vim configs?
My vim config:
set ffs=unix,mac,dos
Neither of our git configs do anything with core.autocrlf
.