Closed wsdjeg closed 5 years ago
Before this is fixed, user can use this script:
https://gist.github.com/jonlabelle/dd8c3caa7808cbe4cfe0a47ee4881059
just run crlf.py -u help_file.txt
Hmm, so does vim not properly display help files with DOS-style line endings?
yeah. but it cause many diff when use git.
Created PR #109 that should fix it. Can you try it out locally and confirm?
OK,I will test it tonight. thanks for your work.
@dbarnett thanks, just confirm, it works well for me.
In windows, when run
python -m vimdoc .
the txt file is generated, but the fileformate is changed to dos, is it possible to generate unix fireformate file?https://stackoverflow.com/questions/6159900/correct-way-to-write-line-to-file
https://www.datacamp.com/community/tutorials/reading-writing-files-python
maybe this func need to be changed