# Add support for rename with language servers that lack prepareRename \(\#23000\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bda0c67ece3a53aa41486a44b0b84530222af37b

Requested commit: bda0c67ece3a53aa41486a44b0b84530222af37b

Commit: bda0c67ece3a53aa41486a44b0b84530222af37b

Tree: 0bb93ab73b4fe5abbacc645db5dcd78159afc03c

Author: Michael Sloan

Committer: GitHub

## Message

```
Add support for rename with language servers that lack prepareRename (#23000)

This adds support for LSPs that use the old rename flow which does not
first ask the LSP for the rename range and check that it is a valid
range to rename.

Closes #16663

Release Notes:

* Fixed rename symbols action when the language server does not have the
capability to prepare renames - such as `luau-lsp`.
```

## Parents

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

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