diff -rupN clang-tools-extra/clangd/tool/ClangdMain.cpp clang-tools-extra.patched/clangd/tool/ClangdMain.cpp
--- clang-tools-extra/clangd/tool/ClangdMain.cpp	2025-02-06 08:58:59.767149639 +0000
+++ clang-tools-extra.patched/clangd/tool/ClangdMain.cpp	2025-02-06 09:08:13.822189169 +0000
@@ -242,6 +242,13 @@ opt<std::string> FallbackStyle{
     init(clang::format::DefaultFallbackStyle),
 };
 
+opt<std::string> FormatStyle{
+    "style",
+    cat(Features),
+    desc(clang::format::StyleOptionHelpDescription),
+    init(clang::format::DefaultFormatStyle),
+};
+
 opt<std::string> EnableFunctionArgSnippets{
     "function-arg-placeholders",
     cat(Features),
@@ -813,6 +820,8 @@ clangd accepts flags on the commandline,
   }
   if (FallbackStyle.getNumOccurrences())
     clang::format::DefaultFallbackStyle = FallbackStyle.c_str();
+  if (FormatStyle.getNumOccurrences())
+    clang::format::DefaultFormatStyle = FormatStyle.c_str();
 
   // Validate command line arguments.
   std::optional<llvm::raw_fd_ostream> InputMirrorStream;
