Skip to content

Commit edc6339

Browse files
committed
[new release] lsp (3 packages) (1.21.0-4.14)
CHANGES: ## Features - Make `inlay-hint` for function parameters configurable (ocaml/ocaml-lsp#1515) - Add custom `ocamllsp/jumpToTypedHole` to navigate through typed holes (ocaml/ocaml-lsp#1516) - Add a code-action for combining pattern cases (just relaying on regex) (ocaml/ocaml-lsp#1514) - Allow (by configuration) shortening of diagnostics (just highlighting the first line) (ocaml/ocaml-lsp#1513) - Fix `yojson_of_t` for `Nullable_option`: serialize `None` as `Null` instead of asserting false (ocaml/ocaml-lsp#1525 fixes ocaml/ocaml-lsp#1524) ## Fixes - Support for `class`, `class type`, `method` and `property` for `DocumentSymbol` query (ocaml/ocaml-lsp#1487 fixes ocaml/ocaml-lsp#1449) - Fix `inlay-hint` for function parameters (ocaml/ocaml-lsp#1515) - More precise diagnostics in the event of a failed identifier search (`Definition_query`) (ocaml/ocaml-lsp#1518) - Remove `ocamlformat` application after `destruct` (that remove some useful parenthesis) (ocaml/ocaml-lsp#1519) - Add a new server option `standardHover`, that can be used by clients to disable the default hover provider. When `standardHover = false` `textDocument/hover` requests always returns with empty result. (ocaml/ocaml-lsp#1416)
1 parent 3878330 commit edc6339

File tree

3 files changed

+183
-0
lines changed
  • packages
    • jsonrpc/jsonrpc.1.21.0-4.14
    • lsp/lsp.1.21.0-4.14
    • ocaml-lsp-server/ocaml-lsp-server.1.21.0-4.14

3 files changed

+183
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
opam-version: "2.0"
2+
synopsis: "Jsonrpc protocol implemenation"
3+
description: "See https://www.jsonrpc.org/specification"
4+
maintainer: ["Rudi Grinberg <[email protected]>"]
5+
authors: [
6+
"Andrey Popp <[email protected]>"
7+
"Rusty Key <[email protected]>"
8+
"Louis Roché <[email protected]>"
9+
"Oleksiy Golovko <[email protected]>"
10+
"Rudi Grinberg <[email protected]>"
11+
"Sacha Ayoun <[email protected]>"
12+
"cannorin <[email protected]>"
13+
"Ulugbek Abdullaev <[email protected]>"
14+
"Thibaut Mattio <[email protected]>"
15+
"Max Lantas <[email protected]>"
16+
]
17+
license: "ISC"
18+
homepage: "https://github.com/ocaml/ocaml-lsp"
19+
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
20+
depends: [
21+
"dune" {>= "3.0"}
22+
"ocaml" {>= "4.08"}
23+
"odoc" {with-doc}
24+
]
25+
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
26+
build: [
27+
["dune" "subst"] {dev}
28+
[
29+
"dune"
30+
"build"
31+
"-p"
32+
name
33+
"-j"
34+
jobs
35+
"@install"
36+
"@doc" {with-doc}
37+
]
38+
]
39+
40+
x-maintenance-intent: [ "(latest)" ]
41+
url {
42+
src:
43+
"https://github.com/ocaml/ocaml-lsp/releases/download/1.21.0-4.14/lsp-1.21.0-4.14.tbz"
44+
checksum: [
45+
"sha256=f2de91772b72116d4746e1208c28ebe61a09e000313c9af92a0616df639637ec"
46+
"sha512=bc823d8b60b4fa31f75fb25edda405a016b621a676bde5f3d44b484e0ed67a91a885f19918a2a1d7c299823fac9900c5db9beb2c37d3a5dfe8f3ef78a40999fe"
47+
]
48+
}
49+
x-commit-hash: "4fb73155251d669f21bcfef14ba2a1890869a11b"

packages/lsp/lsp.1.21.0-4.14/opam

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
opam-version: "2.0"
2+
synopsis: "LSP protocol implementation in OCaml"
3+
description: """
4+
5+
Implementation of the LSP protocol in OCaml. It is designed to be as portable as
6+
possible and does not make any assumptions about IO.
7+
"""
8+
maintainer: ["Rudi Grinberg <[email protected]>"]
9+
authors: [
10+
"Andrey Popp <[email protected]>"
11+
"Rusty Key <[email protected]>"
12+
"Louis Roché <[email protected]>"
13+
"Oleksiy Golovko <[email protected]>"
14+
"Rudi Grinberg <[email protected]>"
15+
"Sacha Ayoun <[email protected]>"
16+
"cannorin <[email protected]>"
17+
"Ulugbek Abdullaev <[email protected]>"
18+
"Thibaut Mattio <[email protected]>"
19+
"Max Lantas <[email protected]>"
20+
]
21+
license: "ISC"
22+
homepage: "https://github.com/ocaml/ocaml-lsp"
23+
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
24+
depends: [
25+
"dune" {>= "3.0"}
26+
"jsonrpc" {= version}
27+
"yojson" {< "3.0.0"}
28+
"ppx_yojson_conv_lib" {>= "v0.14"}
29+
"cinaps" {with-test}
30+
"ppx_expect" {>= "v0.15.0" & < "0.17.0" & with-test}
31+
"uutf" {>= "1.0.2"}
32+
"odoc" {with-doc}
33+
"ocaml" {>= "4.14"}
34+
"ppx_yojson_conv" {with-dev-setup}
35+
]
36+
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
37+
build: [
38+
["dune" "subst"] {dev}
39+
[
40+
"dune"
41+
"build"
42+
"-p"
43+
name
44+
"-j"
45+
jobs
46+
"@install"
47+
"@doc" {with-doc}
48+
]
49+
]
50+
51+
x-maintenance-intent: [ "(latest)" ]
52+
url {
53+
src:
54+
"https://github.com/ocaml/ocaml-lsp/releases/download/1.21.0-4.14/lsp-1.21.0-4.14.tbz"
55+
checksum: [
56+
"sha256=f2de91772b72116d4746e1208c28ebe61a09e000313c9af92a0616df639637ec"
57+
"sha512=bc823d8b60b4fa31f75fb25edda405a016b621a676bde5f3d44b484e0ed67a91a885f19918a2a1d7c299823fac9900c5db9beb2c37d3a5dfe8f3ef78a40999fe"
58+
]
59+
}
60+
x-commit-hash: "4fb73155251d669f21bcfef14ba2a1890869a11b"
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
opam-version: "2.0"
2+
synopsis: "LSP Server for OCaml"
3+
description: "An LSP server for OCaml."
4+
maintainer: ["Rudi Grinberg <[email protected]>"]
5+
authors: [
6+
"Andrey Popp <[email protected]>"
7+
"Rusty Key <[email protected]>"
8+
"Louis Roché <[email protected]>"
9+
"Oleksiy Golovko <[email protected]>"
10+
"Rudi Grinberg <[email protected]>"
11+
"Sacha Ayoun <[email protected]>"
12+
"cannorin <[email protected]>"
13+
"Ulugbek Abdullaev <[email protected]>"
14+
"Thibaut Mattio <[email protected]>"
15+
"Max Lantas <[email protected]>"
16+
]
17+
license: "ISC"
18+
homepage: "https://github.com/ocaml/ocaml-lsp"
19+
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
20+
depends: [
21+
"dune" {>= "3.0"}
22+
"yojson" {< "3.0.0"}
23+
"base" {>= "v0.16.0"}
24+
"lsp" {= version}
25+
"jsonrpc" {= version}
26+
"re" {>= "1.5.0"}
27+
"ppx_yojson_conv_lib" {>= "v0.14"}
28+
"dune-rpc" {>= "3.4.0"}
29+
"chrome-trace" {>= "3.3.0"}
30+
"dyn"
31+
"stdune"
32+
"fiber" {>= "3.1.1" & < "4.0.0"}
33+
"ocaml" {>= "4.14.0" & < "5.0"}
34+
"xdg"
35+
"ordering"
36+
"dune-build-info"
37+
"spawn"
38+
"astring"
39+
"camlp-streams"
40+
"ppx_expect" {>= "v0.15.0" & < "0.17.0" & with-test}
41+
"ocamlformat" {with-test & = "0.27.0"}
42+
"ocamlc-loc" {>= "3.7.0"}
43+
"pp" {>= "1.1.2"}
44+
"csexp" {>= "1.5"}
45+
"ocamlformat-rpc-lib" {>= "0.21.0"}
46+
"odoc" {with-doc}
47+
"merlin-lib" {>= "4.18" & < "5.0"}
48+
"ppx_yojson_conv" {with-dev-setup}
49+
]
50+
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
51+
build: [
52+
["dune" "subst"] {dev}
53+
[
54+
"dune"
55+
"build"
56+
"-p"
57+
name
58+
"-j"
59+
jobs
60+
"@install"
61+
"@doc" {with-doc}
62+
]
63+
]
64+
65+
x-maintenance-intent: [ "(latest)" ]
66+
url {
67+
src:
68+
"https://github.com/ocaml/ocaml-lsp/releases/download/1.21.0-4.14/lsp-1.21.0-4.14.tbz"
69+
checksum: [
70+
"sha256=f2de91772b72116d4746e1208c28ebe61a09e000313c9af92a0616df639637ec"
71+
"sha512=bc823d8b60b4fa31f75fb25edda405a016b621a676bde5f3d44b484e0ed67a91a885f19918a2a1d7c299823fac9900c5db9beb2c37d3a5dfe8f3ef78a40999fe"
72+
]
73+
}
74+
x-commit-hash: "4fb73155251d669f21bcfef14ba2a1890869a11b"

0 commit comments

Comments
 (0)