package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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;
}
val create_completionItem : ?snippetSupport:bool -> ?commitCharactersSupport:bool -> ?documentationFormat:MarkupKind.t list -> ?deprecatedSupport:bool -> ?preselectSupport:bool -> ?tagSupport:tagSupport -> ?insertReplaceSupport:bool -> ?resolveSupport:resolveSupport -> ?insertTextModeSupport:insertTextModeSupport -> unit -> completionItem
type t = {
  1. dynamicRegistration : bool option;
  2. completionItem : completionItem option;
  3. completionItemKind : completionItemKind option;
  4. contextSupport : bool option;
}
val create : ?dynamicRegistration:bool -> ?completionItem:completionItem -> ?completionItemKind:completionItemKind -> ?contextSupport:bool -> unit -> t
val t_of_yojson : Yojson.Safe.t -> t
val yojson_of_t : t -> Yojson.Safe.t
OCaml

Innovation. Community. Security.