mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
We forgot to decode the following keys in the custom decode function, which meant that you couldn’t set them using SourceKit-LSP’s `config.json` file. - `backgroundPreparationMode` - `sourcekitdRequestTimeout` - `cancelTextDocumentRequestsOnEditAndClose` We had the custom decoder function so that the keys weren’t required in the JSON but we could access eg. `SwiftPMOptions` without needing to deal with optionals in the codebase. Make the accesses to these nested options structs a little more verbose but eliminate the source of the above bug, which seems like a good tradeoff.