Hello,
Code actions using tsserver on windows introduce ^M (carriage return) at the end line. I know this is due to how unix and dos file formats handle new lines differently.
I have tried changing fileformat in vim between unix and dos, but I was not able to fix it.
Can anyone point me in the right direction, I’m probably being really dumb or missing something obvious.
I have not tested other lsp servers, it’s possible this could be related to tsserver.
Thanks in advance.