package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Style : sig ... end
val make_printer : bool Stdlib.Lazy.t -> Stdlib.Format.formatter -> (Style.t list Pp.t -> unit) Staged.t
val print : Style.t list Pp.t -> unit

Print to Format.std_formatter

val prerr : Style.t list Pp.t -> unit

Print to Format.err_formatter

val stdout_supports_color : bool Stdlib.Lazy.t

Whether stdout/stderr support colors

val stderr_supports_color : bool Stdlib.Lazy.t
val strip : string -> string

Filter out escape sequences in a string

val parse : string -> Style.t list Pp.t

Parse a string containing ANSI escape sequences

OCaml

Innovation. Community. Security.