package coq-lsp

  1. Overview
  2. Docs
type coq_opts = {
  1. fb_handler : Feedback.feedback -> unit;
    (*

    callback to handle async feedback

    *)
  2. load_module : string -> unit;
    (*

    callback to load cma/cmo files

    *)
  3. load_plugin : Mltop.PluginSpec.t -> unit;
    (*

    callback to load findlib packages

    *)
  4. debug : bool;
    (*

    Enable Coq Debug mode

    *)
}
val coq_init : coq_opts -> State.t
val doc_init : root_state:State.t -> vo_load_path:Loadpath.vo_path list -> ml_include_path:string list -> libname:Names.DirPath.t -> require_libs: (string * string option * Vernacexpr.export_with_cats option) list -> State.t