# Refactor LSP restart logic \(\#2705\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5483bd14042068c4aae68e9e78a3d2523b6a52dc

Requested commit: 5483bd14042068c4aae68e9e78a3d2523b6a52dc

Commit: 5483bd14042068c4aae68e9e78a3d2523b6a52dc

Tree: aae90ece3563ba8995946a62efb05fa4fcb92eab

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Refactor LSP restart logic  (#2705)

Instead of storing `initialization_options` in every LSP adapter as
before, store previous LSP settings in `Project` entirely.

This way, we can later have use multiple different project
configurations per single LSP with its associated adapter.

Release Notes:

- N/A
```

## Parents

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

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

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