package coq-lsp

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-lsp-0.1.5.1.8.16.tbz
sha256=bd1d61581eed552aef1b2a37442684a9f96240f1faaf695330c33391a8742a4a
sha512=44566902af1ef750d901527b4b9f5ef9872cfed88a935fe94a78e5a07692855949fed5d71e6709a19f5bf619cf3640391f393fdfeaa98834e72c35106af460c3

doc/src/coq-lsp.lang/point.ml.html

Source file point.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
(************************************************************************)
(* Flèche => document manager: Language Support                         *)
(* Copyright 2019-2023 Inria      -- Dual License LGPL 2.1 / GPL3+      *)
(* Written by: Emilio J. Gallego Arias                                  *)
(************************************************************************)

type t =
  { line : int
  ; character : int
  ; offset : int
  }

let pp fmt { line; character; offset } =
  Format.fprintf fmt "{ l: %d, c: %d | o: %d }" line character offset
OCaml

Innovation. Community. Security.