mirror of
https://github.com/MaskRay/ccls.git
synced 2025-06-12 03:02:14 +00:00
Declare documentLink is not supported in capabilities
This commit is contained in:
parent
0e372ce3db
commit
551c306536
@ -74,13 +74,6 @@ struct lsDocumentOnTypeFormattingOptions {
|
|||||||
MAKE_REFLECT_STRUCT(lsDocumentOnTypeFormattingOptions, firstTriggerCharacter,
|
MAKE_REFLECT_STRUCT(lsDocumentOnTypeFormattingOptions, firstTriggerCharacter,
|
||||||
moreTriggerCharacter);
|
moreTriggerCharacter);
|
||||||
|
|
||||||
// Document link options
|
|
||||||
struct lsDocumentLinkOptions {
|
|
||||||
// Document links have a resolve provider as well.
|
|
||||||
bool resolveProvider = false;
|
|
||||||
};
|
|
||||||
MAKE_REFLECT_STRUCT(lsDocumentLinkOptions, resolveProvider);
|
|
||||||
|
|
||||||
// Save options.
|
// Save options.
|
||||||
struct lsSaveOptions {
|
struct lsSaveOptions {
|
||||||
// The client is supposed to include the content on save.
|
// The client is supposed to include the content on save.
|
||||||
@ -170,8 +163,6 @@ struct lsServerCapabilities {
|
|||||||
lsDocumentOnTypeFormattingOptions documentOnTypeFormattingProvider;
|
lsDocumentOnTypeFormattingOptions documentOnTypeFormattingProvider;
|
||||||
// The server provides rename support.
|
// The server provides rename support.
|
||||||
bool renameProvider = true;
|
bool renameProvider = true;
|
||||||
// The server provides document link support.
|
|
||||||
lsDocumentLinkOptions documentLinkProvider;
|
|
||||||
bool foldingRangeProvider = true;
|
bool foldingRangeProvider = true;
|
||||||
// The server provides execute command support.
|
// The server provides execute command support.
|
||||||
struct ExecuteCommandOptions {
|
struct ExecuteCommandOptions {
|
||||||
@ -197,8 +188,7 @@ MAKE_REFLECT_STRUCT(lsServerCapabilities, textDocumentSync, hoverProvider,
|
|||||||
codeLensProvider, documentFormattingProvider,
|
codeLensProvider, documentFormattingProvider,
|
||||||
documentRangeFormattingProvider,
|
documentRangeFormattingProvider,
|
||||||
documentOnTypeFormattingProvider, renameProvider,
|
documentOnTypeFormattingProvider, renameProvider,
|
||||||
documentLinkProvider, foldingRangeProvider,
|
foldingRangeProvider, executeCommandProvider, workspace);
|
||||||
executeCommandProvider, workspace);
|
|
||||||
|
|
||||||
// Workspace specific client capabilities.
|
// Workspace specific client capabilities.
|
||||||
struct lsWorkspaceClientCapabilites {
|
struct lsWorkspaceClientCapabilites {
|
||||||
|
Loading…
Reference in New Issue
Block a user