mirror of
https://github.com/astral-sh/ty.git
synced 2025-12-23 08:48:09 +00:00
Remove documentation of experimental.rename (#1863)
This commit is contained in:
parent
e6c0420ac6
commit
5e31bc933b
1 changed files with 0 additions and 65 deletions
|
|
@ -336,71 +336,6 @@ include symbols not currently in scope but available in your environment.
|
|||
|
||||
______________________________________________________________________
|
||||
|
||||
## `experimental`
|
||||
|
||||
These settings control the experimental language features that ty provides in an editor.
|
||||
|
||||
### `rename`
|
||||
|
||||
Whether to enable the experimental support for renaming symbols in the editor.
|
||||
|
||||
**Default value**: `false`
|
||||
|
||||
**Type**: `boolean`
|
||||
|
||||
**Example usage**:
|
||||
|
||||
=== "VS Code"
|
||||
|
||||
```json
|
||||
{
|
||||
"ty.experimental.rename": true
|
||||
}
|
||||
```
|
||||
|
||||
=== "Neovim"
|
||||
|
||||
```lua
|
||||
require('lspconfig').ty.setup({
|
||||
settings = {
|
||||
ty = {
|
||||
experimental = {
|
||||
rename = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
-- For Neovim 0.11.0 and later:
|
||||
vim.lsp.config('ty', {
|
||||
settings = {
|
||||
ty = {
|
||||
experimental = {
|
||||
rename = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
=== "Zed"
|
||||
|
||||
```json
|
||||
{
|
||||
"lsp": {
|
||||
"ty": {
|
||||
"settings": {
|
||||
"experimental": {
|
||||
"rename": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
______________________________________________________________________
|
||||
|
||||
## VS Code specific
|
||||
|
||||
The following settings are specific to [ty's VS Code extension][ty-vscode].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue