| 2531 | } |
| 2532 | |
| 2533 | static json textDocumentOptions( const URI& doc, json opts, TextRange range = TextRange() ) { |
| 2534 | auto params = textDocumentParams( doc ); |
| 2535 | if ( range.isValid() ) |
| 2536 | params[MEMBER_RANGE] = toJson( range ); |
| 2537 | params[MEMBER_OPTIONS] = opts; |
| 2538 | return params; |
| 2539 | } |
| 2540 | |
| 2541 | LSPClientServer::LSPRequestHandle LSPClientServer::documentFormatting( const URI& document, |
| 2542 | const json& options, |
no test coverage detected