StanAngeloff / php.vim

An up-to-date Vim syntax for PHP (7.x supported)
477 stars 69 forks source link

Windows Style CR-LF line endings after updating syntax file. #43

Closed iwyg closed 6 years ago

iwyg commented 9 years ago

php.vim gets corrupted with windows style line endings after updating the syntax file via docker.

Vim reports error

E492: Not And Editor Command: ^M

vim error

StanAngeloff commented 9 years ago

Did you pipe the output through sed as shown in the README?

[..] | sed 's/\x0D$//'

This should get rid of the nasty Windows line-endings.

What OS are you using?

iwyg commented 9 years ago

Yes I did. I'm using OS X 10.11.1

StanAngeloff commented 6 years ago

Updated README with further instructions on Docker's usage.