Fileouts line ending (^M and noeol in Vim)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fileouts line ending (^M and noeol in Vim)

Esteban A. Maringolo
Is there a way to change the default line ending of fileouts from mac to unix?

Or alternatively... how to deal with current line endings in Vim?
I'm using ":e ++ff=mac", then ":set ff=unix" and then saving it again.
But there may be a better way.

Thank you!

Esteban A. Maringolo

eol.png (63K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Fileouts line ending (^M and noeol in Vim)

Carlo-2
You mean apart from changing the source in FileStream>>writeSourceCodeFrom:baseName:isSt:
and adding
     fileStream wantsLineEndConversion: true;

Don't think there is another simple way to get to this functionality.
Cheers
Carlo

On 12 Sep 2014, at 5:26 PM, Esteban A. Maringolo <[hidden email]> wrote:

Is there a way to change the default line ending of fileouts from mac to unix?

Or alternatively... how to deal with current line endings in Vim?
I'm using ":e ++ff=mac", then ":set ff=unix" and then saving it again.
But there may be a better way.

Thank you!

Esteban A. Maringolo
<eol.png>