Skip to content

Commit

Permalink
make regularexpressionclientcapabilities's version field optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuukk authored and WebFreak001 committed Nov 30, 2022
1 parent 94478c3 commit 96a8121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/source/served/lsp/protocol.d
Original file line number Diff line number Diff line change
Expand Up @@ -1879,7 +1879,7 @@ struct GeneralClientCapabilities
struct RegularExpressionsClientCapabilities
{
string engine;
@serdeKeys("version") Optional!string version_;
@serdeKeys("version") @serdeOptional Optional!string version_;
}

unittest
Expand Down

0 comments on commit 96a8121

Please sign in to comment.