# Refactor LSP restart logic · gitcafe/zed

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

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

Visibility: public

Requested revision: 4b4d049b0a7b5ce278051202c82dec09c898ae50

Requested commit: 4b4d049b0a7b5ce278051202c82dec09c898ae50

Commit: 4b4d049b0a7b5ce278051202c82dec09c898ae50

Tree: d7363a7495bf610110afbed04e0650529df7b82c

Author: Kirill Bulatov

Committer: Kirill Bulatov

## Message

```
Refactor LSP restart logic

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.

co-authored-by: Max Brunsfeld <max@zed.dev>

```

## Parents

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

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