chrisyip / Better-CSS-Syntax-for-Vim

Better CSS Syntax for Vim
57 stars 8 forks source link

Please create a Unix/OSX-comptabile version of this script! (^M !!!) #1

Closed oryband closed 13 years ago

oryband commented 13 years ago

Hi!

As you described in your README, this script is formatted in DOS style. This makes the Unix/OSX version of Vim to interpret every new line with a ^M as the last character, and makes the script unreadable on those platforms.

Can you please create an alternative version for this script with Unix-style formatting? I think the Windows' Vim will also be able to read the script in Unix-style format as well, so you can basically abandon the current version after you do this. I'm not 100% sure of this, though, so testing is recommended for this case.

I'm gonna fork this repo and convert this script to Unix-style formatting myself in the next couple of minutes - So you can pull my changes instead. :)

Thank you very much for your time!

P.S. I figured out this solution by finding a bug in another script, called Vundle, which is a great plugin manager. Unfortunately, though, it couldn't handle your script because of its formatting. :)

oryband commented 13 years ago

Hi. Here is my fork. I forked it from the vim-scripts version.

chrisyip commented 13 years ago

Thanks for your feedback. In fact, this script has been updated several times for fixing some bugs that shows up during my works. I will commit it later today. :-)

chrisyip commented 13 years ago

Tested on Ubuntu Live CD, Vim in Terminal, no more ^M found. :)

oryband commented 13 years ago

Awesome, thanks! Will this be included in the vim-scripts version of your scripts?

chrisyip commented 13 years ago

vim-scripts is not maintained by me, I won't update it.