You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I use the auto import feature of coc or the CocAction('runCommand', 'editor.action.organizeImport') the line endings will be in windows format.
Example
importFoofrom'./Foo.svelte';^M
This only happens in svelte files. js and ts use Unix line endings.
Is there a way to specify the type of line endings?
My current workaround is to run :%s/^M//g from time to time.
Edit: I found a related issue on sveltejs/language-tools#854 but I don't know what to do with the information.
The text was updated successfully, but these errors were encountered:
I'm also encountering this issue. Is there anyone able who knows more about the LSP setup who would be able to tackle this issue? I'm happy to help debug this, but I have very little experience with the inner workings of LSPs.
Whenever I use the auto import feature of coc or the
CocAction('runCommand', 'editor.action.organizeImport')
the line endings will be in windows format.Example
This only happens in
svelte
files.js
andts
useUnix
line endings.Is there a way to specify the type of line endings?
My current workaround is to run
:%s/^M//g
from time to time.Edit: I found a related issue on sveltejs/language-tools#854 but I don't know what to do with the information.
The text was updated successfully, but these errors were encountered: