Enable type definition capability in fake LSPs in tests
This commit is contained in:
parent
e0dd9e4185
commit
a7f06f962b
2 changed files with 3 additions and 0 deletions
|
@ -792,6 +792,8 @@ impl LanguageServer {
|
|||
code_action_provider: Some(CodeActionProviderCapability::Simple(true)),
|
||||
document_formatting_provider: Some(OneOf::Left(true)),
|
||||
document_range_formatting_provider: Some(OneOf::Left(true)),
|
||||
definition_provider: Some(OneOf::Left(true)),
|
||||
type_definition_provider: Some(TypeDefinitionProviderCapability::Simple(true)),
|
||||
..Default::default()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue