Module Linol_lwt.CompletionItem

type t = {
  1. additionalTextEdits : Linol_lsp__Types.TextEdit.t list option;
  2. command : Linol_lsp__Types.Command.t option;
  3. commitCharacters : string list option;
  4. data : Linol_lsp.Import.Json.t option;
  5. deprecated : bool option;
  6. detail : string option;
  7. documentation : [ `String of string | `MarkupContent of Linol_lsp__Types.MarkupContent.t ] option;
  8. filterText : string option;
  9. insertText : string option;
  10. insertTextFormat : Linol_lsp__Types.InsertTextFormat.t option;
  11. insertTextMode : Linol_lsp__Types.InsertTextMode.t option;
  12. kind : Linol_lsp__Types.CompletionItemKind.t option;
  13. label : string;
  14. labelDetails : Linol_lsp__Types.CompletionItemLabelDetails.t option;
  15. preselect : bool option;
  16. sortText : string option;
  17. tags : Linol_lsp__Types.CompletionItemTag.t list option;
  18. textEdit : [ `TextEdit of Linol_lsp__Types.TextEdit.t | `InsertReplaceEdit of Linol_lsp__Types.InsertReplaceEdit.t ] option;
  19. textEditText : string option;
}
val create : ?additionalTextEdits:Linol_lsp__Types.TextEdit.t list -> ?command:Linol_lsp__Types.Command.t -> ?commitCharacters:string list -> ?data:Linol_lsp.Import.Json.t -> ?deprecated:bool -> ?detail:string -> ?documentation: [ `String of string | `MarkupContent of Linol_lsp__Types.MarkupContent.t ] -> ?filterText:string -> ?insertText:string -> ?insertTextFormat:Linol_lsp__Types.InsertTextFormat.t -> ?insertTextMode:Linol_lsp__Types.InsertTextMode.t -> ?kind:Linol_lsp__Types.CompletionItemKind.t -> label:string -> ?labelDetails:Linol_lsp__Types.CompletionItemLabelDetails.t -> ?preselect:bool -> ?sortText:string -> ?tags:Linol_lsp__Types.CompletionItemTag.t list -> ?textEdit: [ `TextEdit of Linol_lsp__Types.TextEdit.t | `InsertReplaceEdit of Linol_lsp__Types.InsertReplaceEdit.t ] -> ?textEditText:string -> unit -> t
include Linol_lsp.Import.Json.Jsonable.S with type t := t
val t_of_yojson : Yojson.Safe.t -> t
val yojson_of_t : t -> Yojson.Safe.t