================
@@ -851,10 +851,23 @@ struct DocumentRangeFormattingParams {
 
   /// The range to format
   Range range;
+
+  /// The list of ranges to format
+  std::optional<std::vector<Range>> ranges;
----------------
tom-anders wrote:

Ah yes, this is from an old version of the spec, where 
`textDocument/rangeFormatting`  was extended with this new `ranges` parameter. 
But in the latest version, there's now a separate 
`textDocument/range**s**Formatting` request. 

I removed the field now.

https://github.com/llvm/llvm-project/pull/80180
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to