package coq-lsp
Language Server Protocol native server for Coq
Install
Dune Dependency
Authors
Maintainers
Sources
0.1.6.1+8.16.tar.gz
sha256=714e28280df575a9aac5c382bfbaee2815ee278d11782f670d220372892554a3
sha512=ba713ecfb2f1f097c0a355991f65f3b8e46453efb08ee78073d9d9504225b83208907f2c6dfa39256fb9a34bece81fccbeb05b59f6c0f0e1729221c5ef1d97b8
doc/src/coq-lsp.fleche/config.ml.html
Source file config.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
module Unicode_completion = struct type t = | Off | Internal_small | Normal | Extended end type t = { mem_stats : bool [@default false] (** [mem_stats] Call [Obj.reachable_words] for every sentence. This is very slow and not very useful, so disabled by default *) ; gc_quick_stats : bool [@default true] (** [gc_quick_stats] Show the diff of [Gc.quick_stats] data for each sentence *) ; client_version : string [@default "any"] ; eager_diagnostics : bool [@default true] (** [eager_diagnostics] Send (full) diagnostics after processing each *) ; goal_after_tactic : bool [@default false] (** When showing goals and the cursor is in a tactic, if false, show goals before executing the tactic, if true, show goals after *) ; show_coq_info_messages : bool [@default false] (** Show `msg_info` messages in diagnostics *) ; show_notices_as_diagnostics : bool [@default false] (** Show `msg_notice` messages in diagnostics *) ; admit_on_bad_qed : bool [@default true] (** [admit_on_bad_qed] There are two possible error recovery strategies when a [Qed] fails: one is not to add the constant to the state, the other one is admit it. We find the second behavior more useful, but YMMV. *) ; debug : bool [@default false] (** Enable debug on Coq side, including backtraces *) ; unicode_completion : Unicode_completion.t [@default Unicode_completion.Normal] ; max_errors : int [@default 150] ; pp_type : int [@default 0] (** Pretty-printing type in Info Panel Request, 0 = string; 1 = Pp.t; 2 = Coq Layout Engine *) ; show_stats_on_hover : bool [@default false] } let default = { mem_stats = false ; gc_quick_stats = true ; client_version = "any" ; eager_diagnostics = true ; goal_after_tactic = false ; show_coq_info_messages = false ; show_notices_as_diagnostics = false ; admit_on_bad_qed = true ; debug = false ; unicode_completion = Normal ; max_errors = 150 ; pp_type = 0 ; show_stats_on_hover = false } let v = ref default
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>