it’s already fixed on master. Please search before asking. Lsp.buf.formatting() adds ^M to lines it touches - #5 by mjlbach