Skip to content

Commit 8e77bb3

Browse files
dimblebyautozimu
authored andcommitted
Declare support for LocationLinks
Fixes #848
1 parent 33d0a61 commit 8e77bb3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/language_server_protocol.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,22 @@ impl LanguageClient {
947947
}),
948948
..SignatureHelpCapability::default()
949949
}),
950+
declaration: Some(GotoCapability {
951+
link_support: Some(true),
952+
..GotoCapability::default()
953+
}),
954+
definition: Some(GotoCapability {
955+
link_support: Some(true),
956+
..GotoCapability::default()
957+
}),
958+
type_definition: Some(GotoCapability {
959+
link_support: Some(true),
960+
..GotoCapability::default()
961+
}),
962+
implementation: Some(GotoCapability {
963+
link_support: Some(true),
964+
..GotoCapability::default()
965+
}),
950966
..TextDocumentClientCapabilities::default()
951967
}),
952968
workspace: Some(WorkspaceClientCapabilities {

0 commit comments

Comments
 (0)