package coq-lsp

  1. Overview
  2. Docs
Language Server Protocol native server for Coq

Install

Dune Dependency

Authors

Maintainers

Sources

coq-lsp-0.2.2.8.18.tbz
sha256=ec0a692c2ca60ee1a087626bb6087076f0e9a5ace3c88b1209c2f5dea0c91035
sha512=8aac7c4c99a7bdae741084e567348f8a4c36d64939d79348ff7b6f50dacf36da7aee8b7e648e94a863e895d1c60d911e2b3e38b4b8dcdf04c8ed1edde28f7660

doc/coq-lsp.coq/Coq/Workspace/index.html

Module Coq.WorkspaceSource

Sourcemodule Flags : sig ... end
Sourcemodule Warning : sig ... end
Sourcemodule Require : sig ... end
Sourcetype t = private {
  1. coqlib : string;
  2. coqcorelib : string;
  3. findlib_config : string option;
  4. ocamlpath : string list;
  5. vo_load_path : Loadpath.vo_path list;
    (*

    List of -R / -Q flags passed to Coq, usually theories we depend on

    *)
  6. ml_include_path : string list;
    (*

    List of paths to look for Coq plugins, deprecated in favor of findlib

    *)
  7. require_libs : Require.t list;
    (*

    Modules to preload, usually Coq.Init.Prelude

    *)
  8. flags : Flags.t;
    (*

    Coq-specific flags

    *)
  9. warnings : Warning.t list;
  10. kind : string;
    (*

    How the workspace was built

    *)
  11. debug : bool;
    (*

    Enable backtraces

    *)
}
Sourceval inject_requires : extra_requires:Require.t list -> t -> t

Inject some requires

Sourceval compare : t -> t -> int

compare

Sourceval hash : t -> int

hash

Sourceval describe : t -> string * string

user message, debug extra data

Sourceval describe_guess : (t, string) Result.t -> string * string
Sourcemodule CmdLine : sig ... end
Sourceval guess : token:Limits.Token.t -> debug:bool -> cmdline:CmdLine.t -> dir:string -> (t, string) Result.t
Sourceval default : debug:bool -> cmdline:CmdLine.t -> t
Sourceval apply : intern:unit -> uri:Lang.LUri.File.t -> t -> unit

apply libname w will prepare Coq for a new file libname on workspace w

Sourceval dirpath_of_uri : uri:Lang.LUri.File.t -> Names.DirPath.t
OCaml

Innovation. Community. Security.