Specify a field so that LSPs to avoid minor lsp-types bug
@@ -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()
