24 lines
364 B
OCaml
24 lines
364 B
OCaml
(** Workspaces definitions *)
|
|
|
|
open! Import
|
|
|
|
module Context : sig
|
|
module Opam : sig
|
|
type t =
|
|
{ name : string
|
|
; switch : string
|
|
; root : string option
|
|
; merlin : bool
|
|
}
|
|
end
|
|
|
|
type t = Default | Opam of Opam.t
|
|
end
|
|
|
|
type t =
|
|
{ merlin_context : string option
|
|
; contexts : Context.t list
|
|
}
|
|
|
|
val load : string -> t
|