michalliu/sourcebeautify.vim — pull request #11 by prurigro (2014-06-17 07:19:51+00:00)
Title: Converted sourcebeautify.vim to the Unix format to fix an error

Since updating **sourcebeautify.vim** I started getting the following error when starting vim:
> line 11:
> E15: Invalid expression: exists('g:loaded_sourcebeautify') || &cp || version < 700^M
> line 153:
> E171: Missing :endif

I would've figured vim would be able to load plugins with dos-formatted files in them considering it has no issues editing dos-formatted files, but when I opened **sourcebeautify.vim** and found an **endif** two lines below the one in the error, I knew that couldn't be the problem. I noticed the **^M"** in the error didn't appear when I opened it to edit, so when I checked and found it was dos-formatted too, I figured I'd try running `dos2unix plugin/sourcebeautify/sourcebeautify.vim` and start vim up again to see what happened, and this time it loaded error-free.

I'm using the most recent **pathogen** to load plugins, and **vim** `7.4.307`

**Note**: No changes were made aside from running `dos2unix plugin/sourcebeautify/sourcebeautify.vim`