Enable formatting (#188)

This commit is contained in:
ykiko
2025-08-23 22:52:27 +08:00
committed by GitHub
parent 52e45e1f26
commit 5f8a577e26
10 changed files with 161 additions and 16 deletions

View File

@@ -8,6 +8,19 @@ struct DocumentFormattingClientCapabilities {};
using DocumentFormattingOptions = bool;
struct DocumentFormattingParams {
/// The document to format.
TextDocumentIdentifier textDocument;
};
struct DocumentRangeFormattingParams {
/// The document to format.
TextDocumentIdentifier textDocument;
/// The range to format
Range range;
};
struct DocumentRangeFormattingClientCapabilities {};
using DocumentRangeFormattingOptions = bool;