Module Types.CompletionClientCapabilities

type completionList = {
  1. itemDefaults : string list option;
}
val create_completionList : ?itemDefaults:string list -> unit -> completionList
type completionItemKind = {
  1. valueSet : CompletionItemKind.t list option;
}
val create_completionItemKind : ?valueSet:CompletionItemKind.t list -> unit -> completionItemKind
type insertTextModeSupport = {
  1. valueSet : InsertTextMode.t list;
}
val create_insertTextModeSupport : valueSet:InsertTextMode.t list -> insertTextModeSupport
type resolveSupport = {
  1. properties : string list;
}
val create_resolveSupport : properties:string list -> resolveSupport
type tagSupport = {
  1. valueSet : CompletionItemTag.t list;
}
val create_tagSupport : valueSet:CompletionItemTag.t list -> tagSupport
type completionItem = {
  1. snippetSupport : bool option;
  2. commitCharactersSupport : bool option;
  3. documentationFormat : MarkupKind.t list option;
  4. deprecatedSupport : bool option;
  5. preselectSupport : bool option;
  6. tagSupport : tagSupport option;
  7. insertReplaceSupport : bool option;
  8. resolveSupport : resolveSupport option;
  9. insertTextModeSupport : insertTextModeSupport option;
  10. labelDetailsSupport : bool option;
}
val create_completionItem : ?snippetSupport:bool -> ?commitCharactersSupport:bool -> ?documentationFormat:MarkupKind.t list -> ?deprecatedSupport:bool -> ?preselectSupport:bool -> ?tagSupport:tagSupport -> ?insertReplaceSupport:bool -> ?resolveSupport:resolveSupport -> ?insertTextModeSupport:insertTextModeSupport -> ?labelDetailsSupport:bool -> unit -> completionItem
type t = {
  1. completionItem : completionItem option;
  2. completionItemKind : completionItemKind option;
  3. completionList : completionList option;
  4. contextSupport : bool option;
  5. dynamicRegistration : bool option;
  6. insertTextMode : InsertTextMode.t option;
}
val create : ?completionItem:completionItem -> ?completionItemKind:completionItemKind -> ?completionList:completionList -> ?contextSupport:bool -> ?dynamicRegistration:bool -> ?insertTextMode:InsertTextMode.t -> unit -> t
include Ppx_yojson_conv_lib.Yojsonable.S with type t := t
val t_of_yojson : Yojson.Safe.t -> t
val yojson_of_t : t -> Yojson.Safe.t