message: Clean up code lens request
diff: @@ -372,6 +372,11 @@ export interface TextDocumentClientCapabilities {
  */
  codeAction?: CodeActionClientCapabilities;
  + /**
  + * Capabilities specific to the `textDocument/codeLens`
  + */
  + codeLens?: CodeLensClientCapabilities;
  +
  /**
  * Capabilities specific to the `textDocument/formatting`
  */
  @@ -402,16 +407,6 @@ export interface TextDocumentClientCapabilities {
  dynamicRegistration?: boolean;
  };
  - /**
  - * Capabilities specific to the `textDocument/codeLens`
  - */
  - codeLens?: {
  - /**
  - * Whether code lens supports dynamic registration.
  - */
  - dynamicRegistration?: boolean;
  - };
  -
  /**
  * Capabilities specific to the `textDocument/documentLink`
  */
  @@ -517,16 +512,6 @@ export namespace TextDocumentRegistrationOptions {
  }
  }
  -/**
  - * Code Lens options.
  - */
  -export interface CodeLensOptions extends WorkDoneProgressOptions {
  - /**
  - * Code lens has a resolve provider as well.
  - */
  - resolveProvider?: boolean;
  -}
  -
  /**
  * Document formatting options.
  */
  @@ -647,14 +632,14 @@ export interface _ServerCapabilities<T = any> {
  * `codeActionLiteralSupport` in its initial `initialize` request.
  */
  codeActionProvider?: boolean | CodeActionOptions;
  - /**
  - * The server provides workspace symbol support.
  - */
  - workspaceSymbolProvider?: boolean | WorkspaceSymbolOptions;
  /**
  * The server provides code lens.
  */
  codeLensProvider?: CodeLensOptions;
  + /**
  + * The server provides workspace symbol support.
  + */
  + workspaceSymbolProvider?: boolean | WorkspaceSymbolOptions;
  /**
  * The server provides document formatting.
  */
  @@ -1991,6 +1976,16 @@ export namespace WorkspaceSymbolRequest {
  //---- Code Lens Provider -------------------------------------------
  +/**
  + * The client capabilities of a [CodeLensRequest](#CodeLensRequest).
  + */
  +export interface CodeLensClientCapabilities {
  + /**
  + * Whether code lens supports dynamic registration.
  + */
  + dynamicRegistration?: boolean;
  +}
  +
  /**
  * The parameters of a [CodeLensRequest](#CodeLensRequest).
  */
  @@ -2001,6 +1996,16 @@ export interface CodeLensParams extends WorkDoneProgressParams, PartialResultPar
  textDocument: TextDocumentIdentifier;
  }
  +/**
  + * Code Lens provider options of a [CodeLensRequest](#CodeLensRequest).
  + */
  +export interface CodeLensOptions extends WorkDoneProgressOptions {
  + /**
  + * Code lens has a resolve provider as well.
  + */
  + resolveProvider?: boolean;
  +}
  +
  /**
  * Registration options for a [CodeLensRequest](#CodeLensRequest).
  */
  