-
-
Notifications
You must be signed in to change notification settings - Fork 140
Description
Do you want to request a feature or report a bug?
bug
What is the current/expected behavior?
This only happens on Windows machine.
Current behaviour: endOfLine is set to 'crlf', after running :Prettier command, ^M appear at the end of each line.
According to a hex editor file endings are CRCRLF, which IMO causes the problem.
Expected: When I set the endOfLine option to 'crlf' and I format a file, I don't want to see ^M at the end of each line. Opening the file with hex editor should result in CRLF line endings
What version of vim-prettier
are you using - (output of :PrettierVersion
) ?
1.0.0-beta
What version of prettier
are you using - (output of :PrettierCliVersion
) ?
2.6.2
What is your prettier
executable path - (output of :PrettierCliPath
) ?
prettier
Did this work in previous versions of vim-prettier and/or prettier ?
Don't have experience, this is my first time using the plugin.