Skip to content

Commit 4e7e7cd

Browse files
committed
[new release] coq-lsp (0.2.4+9.0)
CHANGES: ------------------------------ - [js] [deps] Bump to findlib 1.9.8, use vanilla API for loading and remove our own local wrapper (@ejgallego, ejgallego/coq-lsp#975). - [petanque] New `petanque/ast` and `petanque/ast_at_pos` (@ejgallego, @JulesViennotFranca, ejgallego/coq-lsp#980) - [serlib] Support for generic Ast analyzers. This opens the door to many feature requests such as syntax coloring, dependency extraction, etc... (@ejgallego, @JulesViennotFranca, ejgallego/coq-lsp#981) - [fleche] Support "rocq" markdown delimiters in .mv files (@ejgallego, ejgallego/coq-lsp#987) - [workspace] Support _RocqProject (@ejgallego, ejgallego/coq-lsp#988, fixes ejgallego/coq-lsp#934) - [lsp] [getDocument] Allow to get goals in one shot. We also refactor the response type to accommodate different meta-data. Note: (!) breaking change. (@ejgallego, ejgallego/coq-lsp#985, fixes ejgallego/coq-lsp#862, thanks to the Alectryon team) - [lsp] Better error handling in URI parsing (@ejgallego, ejgallego/coq-lsp#994, thanks to Adrien from Zulip) - [lsp] Better protocol-level handling for our non-standard `Lang.Point` and `Lang.Diagnostic` types, via global flags that allow us to choose the input/output representation for non-standard field such as [Point.offset]. This ensures that leaks of these non-standard fields are rarer. (@ejgallego, ejgallego/coq-lsp#995, cc ejgallego/coq-lsp#279, cc ejgallego/coq-lsp#2, thanks to Adrien from Zulip) - [lsp] [completion] Rework completion configuration into a `coq-lsp.completion` json object. The `unicode_completion` setting is now deprecated, and has been replaced by `completion.unicode.enable` (@ejgallego, ejgallego/coq-lsp#993) - [lsp] [completion] [vscode] Unicode completion commit characters are now configurable via the server setting variable `completion.unicode.commit_chars`. (@Durbatuluk1701, ejgallego/coq-lsp#993) - [goals] [config] New (global) option for goal display method `proof/goals`: `messages_follow_goal`. If `true`, `proof/goals` will show errors and messages for the same sentence goals are shown; if `false`, it will always show errors and messages for the specified `position`, if there is a Rocq sentence at hand (@jpoiret, @ejgallego, ejgallego/coq-lsp#999, fixes: ejgallego/coq-lsp#941) - [coq] Install full state before parsing. Before we did only `Pcoq.unfreeze` but that is not enough, in particular the call to `get_default_proof_mode` will not be correct (@ejgallego, @pimotte, ejgallego/coq-lsp#1011, fixes ejgallego/coq-lsp#656) - [misc] Don't depend on Jane Street's base (@patrick-nicodemus @ejgallego, ejgallego/coq-lsp#1004) - [wasm worker] Add WebAssembly based worker based on waCoq. This is now the default for the .vsix binary build. For now, we include Rocq's Stdlib and Waterproof (@corwin-of-amber, @ejgallego, @pimotte, ejgallego/coq-lsp#1008, cc ejgallego/coq-lsp#833, fixes ejgallego/coq-lsp#907, fixes ejgallego/coq-lsp#908, fixes ejgallego/coq-lsp#913) - [opam] Added `x-maintenance-intent` intent field. (@ejgallego, ejgallego/coq-lsp#1020) - [lsp] [didOpen] `languageId` now takes priority over uri extension in LSP `didOpen`. (@ejgallego, ejgallego/coq-lsp#1021, fixes ejgallego/coq-lsp#1005) - [coq] incorporate experimental `coq-layout-engine` printer, both in client and server parts (@ejgallego, ejgallego/coq-lsp#668, see also ejgallego/coq-lsp#72 and jscoq/jscoq#282 ) - [lsp] [code] New notification `$/coq/executionInformation` which will signal clients when rocq-lsp does intent to start to execute a sentence. Experimentally, this is used to provide a red glow on long-running commands in coq-lsp/VSCode, to provide better user feedback on long-running commands (@ejgallego, suggested by @jpoiret, ejgallego/coq-lsp#1002) - [lsp] [outline] Support `Notation`, `Ltac` and `Ltac Notation` in outline entries (@ejgallego, ejgallego/coq-lsp#1025, fixes ejgallego/coq-lsp#632)
1 parent 2b1f668 commit 4e7e7cd

File tree

1 file changed

+82
-0
lines changed
  • packages/coq-lsp/coq-lsp.0.2.4+9.0

1 file changed

+82
-0
lines changed
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
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: "e@x80.org"
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 <e@x80.org>"
13+
"Ali Caglayan <alizter@gmail.com>"
14+
"Shachar Itzhaky <shachari@cs.technion.ac.il>"
15+
"Ramkumar Ramachandra <r@artagnon.com>"
16+
]
17+
license: "LGPL-2.1-or-later"
18+
doc: "https://ejgallego.github.io/coq-lsp/"
19+
20+
depends: [
21+
22+
("ocaml" {>= "5.0"} | ("ocaml" {<= "5.0"} & "memprof-limits" { >= "0.2.1" } ))
23+
24+
"dune" { >= "3.13.0" } # Version interval [3.8-3.12] was
25+
# broken for composed builds with Coq
26+
27+
# lsp dependencies
28+
"cmdliner" { >= "1.1.0" }
29+
"yojson" { >= "1.7.0" }
30+
"uri" { >= "4.2.0" }
31+
"dune-build-info" { >= "3.2.0" }
32+
33+
# coq-layout-printer
34+
"tyxml" { >= "4.5.0" }
35+
36+
# for waterproof json parser
37+
"menhir" { >= "20220210" }
38+
39+
# unit testing
40+
"ppx_inline_test" { >= "v0.15.0" }
41+
42+
# This is now a hard dep due to API changes in 1.9.7
43+
"ocamlfind" { >= "1.9.8" }
44+
45+
# v9.0
46+
"rocq-prover" { >= "9.0" < "9.1" }
47+
48+
# serlib deps
49+
"ppx_deriving" { >= "5.2" }
50+
"ppx_deriving_yojson" { >= "3.7.0" }
51+
"ppx_import" { >= "1.11.0" }
52+
"sexplib" { >= "v0.15.0" & < "v0.18" }
53+
"ppx_sexp_conv" { >= "v0.15.0" & < "v0.18" }
54+
"ppx_compare" { >= "v0.15.0" & < "v0.18" }
55+
"ppx_hash" { >= "v0.15.0" & < "v0.18" }
56+
]
57+
58+
# older results get in mess with ppx_deriving, we cannot control how
59+
# it gets pulled, often in min-bound rev-dep, so we conflict with it
60+
conflicts: [ "result" { < "1.5" } ]
61+
62+
depopts: ["lwt" "logs"]
63+
64+
build: [
65+
[ "rm" "-rf" "vendor" ]
66+
[ "dune" "build" "-p" name "-j" jobs ]
67+
]
68+
run-test: [ [ "dune" "runtest" "-p" name "-j" jobs ] ]
69+
70+
x-maintenance-intent: [ "(latest)" ]
71+
url {
72+
src:
73+
"https://github.com/ejgallego/coq-lsp/releases/download/0.2.4%2B9.0/coq-lsp-0.2.4.9.0.tbz"
74+
checksum: [
75+
"sha256=b6bf58331589b0bc750c01cc96a607322cf20260e61bd74f64998e04a9b909d3"
76+
"sha512=b74f88117a180b089f99dc2d0cd867bdeb7aef071fa487334cdd2961ac61b9ba592e7f58c509dd6920ca2708dcc64992944009d4dce504bb5d0e28bb7d963c07"
77+
]
78+
}
79+
x-commit-hash: "ea06992c3428dbae678e9a803304669a79859a31"
80+
81+
# Only for 0.2.4 due to a silly build system issue, note that rocq-lsp works fine in 32bit systems
82+
available: arch != "arm32" & arch != "x86_32"

0 commit comments

Comments
 (0)