# Prefer loading \`extension.toml\` before \`extension.json\` \(\#42884\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/97792f7fb9ca8da39d150ebe40ef393ce126bb00)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 97792f7fb9ca8da39d150ebe40ef393ce126bb00

Requested commit: 97792f7fb9ca8da39d150ebe40ef393ce126bb00

Commit: 97792f7fb9ca8da39d150ebe40ef393ce126bb00

Tree: a0d04b2592918d96556c3002bc8324d5ee4951e7

Author: Finn Evers

Committer: GitHub

## Message

```
Prefer loading `extension.toml` before `extension.json` (#42884)

Closes #42406

The issue for the fish-extension is that a `extension.json` is still
present next to a `extension.toml`, although the former is deprecated.

We should prefer the `extension.toml` if it is present and only fall
back to the `extension.json` if needed. This PR tackles this.

Release Notes:

- N/A
```

## Parents

- [9bebf314e001a6d462d4787245705cf7ecec29f0](https://git.cafe/gitcafe/zed/commit/9bebf314e001a6d462d4787245705cf7ecec29f0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/97792f7fb9ca8da39d150ebe40ef393ce126bb00?format=markdown)
