# Update LSP to the newest version \(\#2535\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 986b02e21799bff6f47d7e52ade43cb83b531f7c

Requested commit: 986b02e21799bff6f47d7e52ade43cb83b531f7c

Commit: 986b02e21799bff6f47d7e52ade43cb83b531f7c

Tree: af7950d9413d4c6652644638be2ad14b4a199f46

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Update LSP to the newest version (#2535)

Current `lsp-types:0.91.1` crate lacks inlay hints' definitions. Crate's
changelog is not very descriptive, but it appears that `0.92.1` could be
used:
https://github.com/gluon-lang/lsp-types/blob/master/CHANGELOG.md#v0921-2022-03-21
The latest is crate version is `0.94.0` (2023-02-08), the PR updates Zed
to the latest version.


Notable changes:
* workspace symbols may arrive unresolved if the corresponding client
capability is enabled:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#partialResults
Zed has this capability disabled, forcing all symbols to arrive
synchronously (?).

Resolve capabilities are important for inlay hints too, but I've not
found any code in Zed for that outside tests, so I'd love to learn more
and implement the resolution for workspace symbols separately.

* since LSP `3.17` (current), watch file changes can use relative glob
patterns:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspace_didChangeWatchedFiles

That seemed just a straightforward extra `match` to use the same Ruse
`Glob` to handle the relative path one.

Release Notes:

N/A
```

## Parents

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

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

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