Skip to content

Commit c69ea04

Browse files
committed
Revert "[clangd] Fix the build broken (NFC)"
This reverts commit 4c91b49 after 70cfece.
1 parent 70cfece commit c69ea04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clangd/Format.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ formatIncremental(llvm::StringRef OriginalCode, unsigned OriginalCursor,
281281
// Never *remove* lines in response to pressing enter! This annoys users.
282282
if (InsertedText == "\n") {
283283
Style.MaxEmptyLinesToKeep = 1000;
284-
Style.KeepEmptyLines.AtStartOfBlock = true;
284+
Style.KeepEmptyLinesAtTheStartOfBlocks = true;
285285
}
286286

287287
// Compute the code we want to format:

0 commit comments

Comments
 (0)