linol/thirdparty/lsp/ocaml-lsp-server/src/configuration.mli

11 lines
263 B
OCaml

open Import
type t =
{ wheel : Lev_fiber.Timer.Wheel.t
; data : Config_data.t
}
val default : unit -> t Fiber.t
val wheel : t -> Lev_fiber.Timer.Wheel.t
val update : t -> DidChangeConfigurationParams.t -> t Fiber.t
val report_dune_diagnostics : t -> bool