Revert "[clangd] Fix the build broken (NFC)"

This reverts commit 4c91b49bab after 70cfece24d.
This commit is contained in:
Jie Fu
2024-06-25 21:30:02 +08:00
parent 70cfece24d
commit c69ea04fb9

View File

@@ -281,7 +281,7 @@ formatIncremental(llvm::StringRef OriginalCode, unsigned OriginalCursor,
// Never *remove* lines in response to pressing enter! This annoys users.
if (InsertedText == "\n") {
Style.MaxEmptyLinesToKeep = 1000;
Style.KeepEmptyLines.AtStartOfBlock = true;
Style.KeepEmptyLinesAtTheStartOfBlocks = true;
}
// Compute the code we want to format: