package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type editRange = {
  1. insert : Range.t;
  2. replace : Range.t;
}
val create_editRange : insert:Range.t -> replace:Range.t -> editRange
type itemDefaults = {
  1. commitCharacters : string list option;
  2. editRange : [ `Range of Range.t | `EditRange of editRange ] option;
  3. insertTextFormat : InsertTextFormat.t option;
  4. insertTextMode : InsertTextMode.t option;
  5. data : Import.Json.t option;
}
val create_itemDefaults : ?commitCharacters:string list -> ?editRange:[ `Range of Range.t | `EditRange of editRange ] -> ?insertTextFormat:InsertTextFormat.t -> ?insertTextMode:InsertTextMode.t -> ?data:Import.Json.t -> unit -> itemDefaults
type t = {
  1. isIncomplete : bool;
  2. itemDefaults : itemDefaults option;
  3. items : CompletionItem.t list;
}
val create : isIncomplete:bool -> ?itemDefaults:itemDefaults -> items:CompletionItem.t list -> 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