# Merge array settings from extension contributions instead of overwriting \(\#62686\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b47d8ac455a31b2c8827a47f78076d394430cc18

Requested commit: b47d8ac455a31b2c8827a47f78076d394430cc18

Commit: b47d8ac455a31b2c8827a47f78076d394430cc18

Tree: 276d9f607f7775f0b605b67579f31db9bbb6d887

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Merge array settings from extension contributions instead of overwriting (#62686)

Closes https://github.com/zed-industries/zed/issues/62572

Reworks https://github.com/zed-industries/zed/pull/54950 — instead of
unconditionally replacing the array with a different one, now does the
replacement only when the user settings are set.
The rest now merges into the array.


Release Notes:

- Fixed array merging for extensions case
```

## Parents

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

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