lsp: Add support for default rename behavior in prepareRename request (#24246)
Fixes #24184 Release Notes: - Fixed renaming not working with some language servers (e.g. hls)
This commit is contained in:
parent
fef567bb49
commit
88b5f069fb
2 changed files with 21 additions and 19 deletions
|
@ -724,6 +724,9 @@ impl LanguageServer {
|
|||
}),
|
||||
rename: Some(RenameClientCapabilities {
|
||||
prepare_support: Some(true),
|
||||
prepare_support_default_behavior: Some(
|
||||
PrepareSupportDefaultBehavior::IDENTIFIER,
|
||||
),
|
||||
..Default::default()
|
||||
}),
|
||||
hover: Some(HoverClientCapabilities {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue