mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-24 08:35:08 +00:00
Set declarationProvider
This commit is contained in:
parent
99930623ef
commit
2e6aed4408
@ -72,6 +72,7 @@ struct ServerCap {
|
|||||||
struct SignatureHelpOptions {
|
struct SignatureHelpOptions {
|
||||||
std::vector<const char *> triggerCharacters = {"(", ","};
|
std::vector<const char *> triggerCharacters = {"(", ","};
|
||||||
} signatureHelpProvider;
|
} signatureHelpProvider;
|
||||||
|
bool declarationProvider = true;
|
||||||
bool definitionProvider = true;
|
bool definitionProvider = true;
|
||||||
bool typeDefinitionProvider = true;
|
bool typeDefinitionProvider = true;
|
||||||
bool implementationProvider = true;
|
bool implementationProvider = true;
|
||||||
@ -111,7 +112,7 @@ REFLECT_STRUCT(ServerCap::SignatureHelpOptions, triggerCharacters);
|
|||||||
REFLECT_STRUCT(ServerCap::TextDocumentSyncOptions, openClose, change, willSave,
|
REFLECT_STRUCT(ServerCap::TextDocumentSyncOptions, openClose, change, willSave,
|
||||||
willSaveWaitUntil, save);
|
willSaveWaitUntil, save);
|
||||||
REFLECT_STRUCT(ServerCap, textDocumentSync, hoverProvider, completionProvider,
|
REFLECT_STRUCT(ServerCap, textDocumentSync, hoverProvider, completionProvider,
|
||||||
signatureHelpProvider, definitionProvider,
|
signatureHelpProvider, declarationProvider, definitionProvider,
|
||||||
implementationProvider, typeDefinitionProvider,
|
implementationProvider, typeDefinitionProvider,
|
||||||
referencesProvider, documentHighlightProvider,
|
referencesProvider, documentHighlightProvider,
|
||||||
documentSymbolProvider, workspaceSymbolProvider,
|
documentSymbolProvider, workspaceSymbolProvider,
|
||||||
|
Loading…
Reference in New Issue
Block a user