Remove unsupported LSP Capabilities
Remove unsupported LSP Capabilities
@@ -57,20 +57,13 @@ fn capabilities() -> ServerCapabilities {
text_document_sync: Some(TextDocumentSyncCapability::Kind(
TextDocumentSyncKind::INCREMENTAL,
)),
- definition_provider: Some(OneOf::Left(true)),
semantic_tokens_provider: capabilities::semantic_tokens::get_semantic_tokens(),
document_symbol_provider: Some(OneOf::Left(true)),
- hover_provider: Some(HoverProviderCapability::Simple(true)),
completion_provider: Some(CompletionOptions {
resolve_provider: Some(false),
trigger_characters: None,
..Default::default()
}),
- execute_command_provider: Some(ExecuteCommandOptions {
- commands: vec![],
- ..Default::default()
- }),
- document_highlight_provider: Some(OneOf::Left(true)),
document_formatting_provider: Some(OneOf::Left(true)),
..ServerCapabilities::default()
}
