Skip to content

Commit b7a2330

Browse files
committed
[new release] coq-lsp (0.1.5+8.16)
CHANGES: --------------------- - Fix a bug when trying to complete in an empty file (@ejgallego, ejgallego/rocq-lsp#270) - Fix a bug with the position reported by the `$/coq/fileProgress` notification - Fix messages panel rendering after the port to React (@ejgallego, ejgallego/rocq-lsp#272) - Fix non-compliance with LSP range type due to extra `offset` field (@ejgallego, ejgallego/rocq-lsp#271) - The goal display now numbers goals starting with 1 instead of 0 (@artagnon, ejgallego/rocq-lsp#277, report by Hugo Herbelin) - Markdown Coq code blocks now must specify "coq" as a language (@ejgallego, ejgallego/rocq-lsp#280) - Server is now more strict w.r.t. what URIs it will accept for documents, see protocol documentation (@ejgallego, ejgallego/rocq-lsp#286, reported by Alex Sanchez-Stern) - Hypotheses with bodies are now correctly displayed (@ejgallego, ejgallego/rocq-lsp#296, fixes ejgallego/rocq-lsp#293, report by Ali Caglayan) - `coq-lsp` incorrectly required the optional `rootPath` initialization parameter, moreover it ignored `rootUri` if present which goes against the LSP spec (@ejgallego, ejgallego/rocq-lsp#295, report by Alex Sanchez-Stern) - `coq-lsp` will now reject opening multiple files when the underlying Coq version is buggy (@ejgallego, fixes ejgallego/rocq-lsp#275, fixes ejgallego/rocq-lsp#281) - Fix bug when parsing client option for unicode completion (@ejgallego ejgallego/rocq-lsp#301) - Support unicode characters in filenames (@artagnon, ejgallego/rocq-lsp#302) - Stop checking documents after a maximum number of errors, user-configurable (by default 150) (@ejgallego, ejgallego/rocq-lsp#303) - Coq Markdown files (.mv extension) are now highlighted properly using both Coq and Markdown syntax rules (@4ever2, ejgallego/rocq-lsp#307) - Goal view now supports find (@Alizter, ejgallego/rocq-lsp#309, closes ejgallego/rocq-lsp#305) - coq-lsp now understands a basic version of Coq Waterproof files (.wpn) Note that we don't associate to them by default, as to allow the waterproof extension to take over the files (@ejgallego, ejgallego/rocq-lsp#306) - URI validation is now more strict, and some further bugs should be solved; note still this can be an issue on some client settings (@ejgallego, ejgallego/rocq-lsp#313, fixes ejgallego/rocq-lsp#187) - Display Coq info and debug messages in info panel (@ejgallego, ejgallego/rocq-lsp#314, fixes ejgallego/rocq-lsp#308) - Goal display handles background goals better, showing preview, goals stack, and focusing information (@ejgallego, ejgallego/rocq-lsp#290, fixes ejgallego/rocq-lsp#288, fixes ejgallego/rocq-lsp#304, based on jsCoq code by Shachar Itzhaky) - Warnings are now printed in the info view messages panel (@ejgallego, ejgallego/rocq-lsp#315, fixes ejgallego/rocq-lsp#195) - Info protocol messages now have location and level (@ejgallego, ejgallego/rocq-lsp#315) - Warnings are not printed in the info view messages panel (@ejgallego, #, fixes ejgallego/rocq-lsp#195) - Improved `documentSymbol` return type for newer `DocumentSymbol[]` hierarchical symbol support. This means that sections and modules will now be properly represented, as well as constructors for inductive types, projections for records, etc... (@ejgallego, ejgallego/rocq-lsp#174, fixes ejgallego/rocq-lsp#121, ejgallego/rocq-lsp#122) - [internal] Error recovery can now execute full Coq commands as to amend states, required for ejgallego/rocq-lsp#319 (@ejallego, ejgallego/rocq-lsp#320) - Auto-admit the previous bullet goal when a new bullet cannot be opened due to an unsolved previous bullet. This also works for {} focusing operators. This is very useful when navigating bulleted proofs (@ejgallego, @Alizter, ejgallego/rocq-lsp#319, fixes ejgallego/rocq-lsp#300) - Store Ast.Info.t incrementally (@ejgallego, ejgallego/rocq-lsp#337, fixes ejgallego/rocq-lsp#316) - Basic jump to definition support; due to lack of workspace metadata, this only works inside the same file (@ejgallego, ejgallego/rocq-lsp#318) - Show type of identifiers at point on hover (@ejgallego, ejgallego/rocq-lsp#321, cc: ejgallego/rocq-lsp#164)
1 parent aa363b3 commit b7a2330

File tree

1 file changed

+48
-0
lines changed
  • packages/coq-lsp/coq-lsp.0.1.5+8.16

1 file changed

+48
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
synopsis: "Language Server Protocol native server for Coq"
2+
description:
3+
"""
4+
Language Server Protocol native server for Coq
5+
"""
6+
opam-version: "2.0"
7+
maintainer: "[email protected]"
8+
bug-reports: "https://github.com/ejgallego/coq-lsp/issues"
9+
homepage: "https://github.com/ejgallego/coq-lsp"
10+
dev-repo: "git+https://github.com/ejgallego/coq-lsp.git"
11+
authors: [
12+
"Emilio Jesús Gallego Arias <[email protected]>"
13+
"Ali Caglayan <[email protected]>"
14+
"Shachar Itzhaky <[email protected]>"
15+
"Ramkumar Ramachandra <[email protected]>"
16+
]
17+
license: "LGPL-2.1-or-later"
18+
doc: "https://ejgallego.github.io/coq-lsp/"
19+
20+
depends: [
21+
"ocaml" { >= "4.11.0" }
22+
"dune" { >= "3.2" }
23+
24+
# lsp dependencies
25+
"cmdliner" { >= "1.1.0" }
26+
"yojson" { >= "1.7.0" }
27+
"uri" { >= "4.2.0" }
28+
29+
# waterproof parser
30+
"menhir" { >= "20220210" }
31+
32+
# Uncomment this for releases
33+
"coq" { >= "8.16.0" & < "8.17" }
34+
"coq-serapi" { >= "8.16.0+0.16.2" & < "8.17" }
35+
"camlp-streams" { >= "5.0" }
36+
]
37+
38+
build: [ [ "dune" "build" "-p" name "-j" jobs ] ]
39+
run-test: [ [ "dune" "runtest" "-p" name "-j" jobs ] ]
40+
url {
41+
src:
42+
"https://github.com/ejgallego/coq-lsp/releases/download/0.1.5%2B8.16/coq-lsp-0.1.5.8.16.tbz"
43+
checksum: [
44+
"sha256=5a0819d6ceb18cf031ece2c466eefd27f018d85c1c7472038bbb7c2663714b6e"
45+
"sha512=be97b25db922014681dce75a68566b887f692c60208b698f03ce8b2fc0c1a2eab5c0c563d698eeb1d21dea5405468e958e67cce9a6c94a3106529f1b4ebfce13"
46+
]
47+
}
48+
x-commit-hash: "40cf80963146585badf868b1b9922d967ecf58a9"

0 commit comments

Comments
 (0)