package coq-lsp
Language Server Protocol native server for Coq
Install
Dune Dependency
Authors
Maintainers
Sources
coq-lsp-0.1.1.v8.16.tbz
sha256=be48fd1449d8a0eb209e83ebbcde95090e94ba74ee7e744a399c3a5b67cc4acb
sha512=c711b953346d3e45ed61c75d5f3825d877820dec38e5dc803cd1ab9a32d6b4a850232a84984c3c340d3939c459ea0595f606d303e1ba714e4245a784b3507ab0
doc/src/coq-lsp.fleche/io.ml.html
Source file io.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
module CallBack = struct type t = { log_error : string -> string -> unit ; send_diagnostics : uri:string -> version:int -> Types.Diagnostic.t list -> unit ; send_fileProgress : uri:string -> version:int -> (Types.Range.t * int) list -> unit } let default = { log_error = (fun _ _ -> ()) ; send_diagnostics = (fun ~uri:_ ~version:_ _ -> ()) ; send_fileProgress = (fun ~uri:_ ~version:_ _ -> ()) } let cb = ref default let set t = cb := t end module Log = struct let error d m = !CallBack.cb.log_error d m end module Report = struct let diagnostics ~uri ~version d = !CallBack.cb.send_diagnostics ~uri ~version d let fileProgress ~uri ~version d = !CallBack.cb.send_fileProgress ~uri ~version d end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>