# Restart LSP server on corresponding \`initialization_options\` change \(\#2690\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4ab2b8b24ba61d9be36ca21e728f776b3eb406ce

Requested commit: 4ab2b8b24ba61d9be36ca21e728f776b3eb406ce

Commit: 4ab2b8b24ba61d9be36ca21e728f776b3eb406ce

Tree: bf443a1356c00469ddad286d94547f7eaa9e844f

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Restart LSP server on corresponding `initialization_options` change (#2690)

Inlay hints depend on LSP server settings, but servers do not update the
initialization options and query hints with old settings.

Generally, we cannot know whether a certain option can be changed
without server restart, which the name of the options implies too, so be
on the safe side and restart the server.
Hints will update automatically after the server either sends a /refresh
request or reports its work progress end after startup.

Release Notes:

- Fixed LSP server not restarting after `initialization_options`
settings changes
```

## Parents

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

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

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