I'm trying to get the line break type (CRLF or LF) of the client document, but can't find any reference to it in the docs. I need something like this in the server.ts file:
function validateTextDocument(textDocument) {
return __awaiter(this, void 0, void 0, function* () {
if (textDocument.lineBreak === "\n") {
// ...
}
})
}
This is the last piece of information I need to finish my extension, can you please shed a light on this?
Thank you!