Specify a field so that LSPs to avoid minor lsp-types bug

This commit is contained in:
MinusGix 2022-07-21 09:55:23 -05:00
parent bcd6ff762d
commit a3d8926b5e
1 changed files with 3 additions and 0 deletions

View File

@ -1268,6 +1268,9 @@ pub fn send_initialize<CB>(&self, root_uri: Option<Url>, on_init: CB)
..Default::default()
}),
type_definition: Some(GotoCapability {
// Note: This is explicitly specified rather than left to the Default because
// of a bug in lsp-types https://github.com/gluon-lang/lsp-types/pull/244
link_support: Some(false),
..Default::default()
}),
..Default::default()