diff --git a/src/messages/initialize.cc b/src/messages/initialize.cc index 772b9127..87dc8f1b 100644 --- a/src/messages/initialize.cc +++ b/src/messages/initialize.cc @@ -72,6 +72,7 @@ struct ServerCap { struct SignatureHelpOptions { std::vector triggerCharacters = {"(", ","}; } signatureHelpProvider; + bool declarationProvider = true; bool definitionProvider = true; bool typeDefinitionProvider = true; bool implementationProvider = true; @@ -111,7 +112,7 @@ REFLECT_STRUCT(ServerCap::SignatureHelpOptions, triggerCharacters); REFLECT_STRUCT(ServerCap::TextDocumentSyncOptions, openClose, change, willSave, willSaveWaitUntil, save); REFLECT_STRUCT(ServerCap, textDocumentSync, hoverProvider, completionProvider, - signatureHelpProvider, definitionProvider, + signatureHelpProvider, declarationProvider, definitionProvider, implementationProvider, typeDefinitionProvider, referencesProvider, documentHighlightProvider, documentSymbolProvider, workspaceSymbolProvider,