Skip to content

Commit 3d65360

Browse files
committed
[new release] ocaml-lsp-server, lsp and jsonrpc (1.16.0-4.14)
CHANGES: ## Fixes - Disable code lens by default. The support can be re-enabled by explicitly setting it in the configuration. (ocaml/ocaml-lsp#1134) - Fix initilization of `ocamlformat-rpc` in some edge cases when ocamlformat is initialized concurrently (ocaml/ocaml-lsp#1132) - Kill unnecessary `$ dune ocaml-merlin` with SIGTERM rather than SIGKILL (ocaml/ocaml-lsp#1124) - Refactor comment parsing to use `odoc-parser` and `cmarkit` instead of `octavius` and `omd` (ocaml/ocaml-lsp#1088) This allows users who migrated to omd 2.X to install ocaml-lsp-server in the same opam switch. We also slightly improved markdown generation support and fixed a couple in the generation of inline heading and module types. - Allow opening documents that were already open. This is a workaround for neovim's lsp client (ocaml/ocaml-lsp#1067) - Disable type annotation for functions (ocaml/ocaml-lsp#1054) - Respect codeActionLiteralSupport capability (ocaml/ocaml-lsp#1046) - Fix a document syncing issue when utf-16 is the position encoding (ocaml/ocaml-lsp#1004) - Disable "Type-annotate" action for code that is already annotated. ([ocaml/ocaml-lsp#1037](ocaml/ocaml-lsp#1037)), fixes [ocaml/ocaml-lsp#1036](ocaml/ocaml-lsp#1036) - Fix semantic highlighting of long identifiers when using preprocessors ([ocaml/ocaml-lsp#1049](ocaml/ocaml-lsp#1049), fixes [ocaml/ocaml-lsp#1034](ocaml/ocaml-lsp#1034)) - Fix the type of DocumentSelector in cram document registration (ocaml/ocaml-lsp#1068) - Accept the `--clientProcessId` command line argument. (ocaml/ocaml-lsp#1074) - Accept `--port` as a synonym for `--socket`. (ocaml/ocaml-lsp#1075) - Fix connecting to dune rpc on Windows. (ocaml/ocaml-lsp#1080) ## Features - Add "Remove type annotation" code action. (ocaml/ocaml-lsp#1039) - Support settings through `didChangeConfiguration` notification (ocaml/ocaml-lsp#1103) - Add "Extract local" and "Extract function" code actions. (ocaml/ocaml-lsp#870) - Depend directly on `merlin-lib` 4.9 (ocaml/ocaml-lsp#1070)
1 parent d916f15 commit 3d65360

File tree

3 files changed

+170
-0
lines changed
  • packages
    • jsonrpc/jsonrpc.1.16.0-4.14
    • lsp/lsp.1.16.0-4.14
    • ocaml-lsp-server/ocaml-lsp-server.1.16.0-4.14

3 files changed

+170
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
url {
40+
src:
41+
"https://github.com/ocaml/ocaml-lsp/releases/download/1.16.0-4.14/lsp-1.16.0-4.14.tbz"
42+
checksum: [
43+
"sha256=c5ab6538a7d7c6d8dbe06a68694e103018a013cb4ac230c0cd4cdc7cf858bc89"
44+
"sha512=41f2313c05bea2d2e85670ab129adcfc63ee29176049771acc216fd2cfad325848a5e3747690ea4a3fc8d1a5f6151aacc922e0f164f0073dfdc8d41d8bc6f29e"
45+
]
46+
}
47+
x-commit-hash: "16030d061d49adcc693ab84b880683ac3d617534"

packages/lsp/lsp.1.16.0-4.14/opam

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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"
28+
"ppx_yojson_conv_lib" {>= "v0.14"}
29+
"cinaps" {with-test}
30+
"ppx_expect" {>= "v0.15.0" & with-test}
31+
"uutf" {>= "1.0.2"}
32+
"odoc" {with-doc}
33+
"ocaml" {>= "4.12"}
34+
]
35+
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
36+
build: [
37+
["dune" "subst"] {dev}
38+
[
39+
"dune"
40+
"build"
41+
"-p"
42+
name
43+
"-j"
44+
jobs
45+
"@install"
46+
"@doc" {with-doc}
47+
]
48+
]
49+
url {
50+
src:
51+
"https://github.com/ocaml/ocaml-lsp/releases/download/1.16.0-4.14/lsp-1.16.0-4.14.tbz"
52+
checksum: [
53+
"sha256=c5ab6538a7d7c6d8dbe06a68694e103018a013cb4ac230c0cd4cdc7cf858bc89"
54+
"sha512=41f2313c05bea2d2e85670ab129adcfc63ee29176049771acc216fd2cfad325848a5e3747690ea4a3fc8d1a5f6151aacc922e0f164f0073dfdc8d41d8bc6f29e"
55+
]
56+
}
57+
x-commit-hash: "16030d061d49adcc693ab84b880683ac3d617534"
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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"
23+
"re" {>= "1.5.0"}
24+
"ppx_yojson_conv_lib" {>= "v0.14"}
25+
"dune-rpc" {>= "3.4.0"}
26+
"chrome-trace" {>= "3.3.0"}
27+
"dyn"
28+
"stdune"
29+
"fiber" {>= "3.1.1" & < "4.0.0"}
30+
"xdg"
31+
"ordering"
32+
"dune-build-info"
33+
"spawn"
34+
"odoc-parser" {>= "2.0.0"}
35+
"ppx_expect" {>= "v0.15.0" & with-test}
36+
"ocamlformat" {with-test & = "0.24.1"}
37+
"ocamlc-loc" {>= "3.7.0"}
38+
"uutf" {>= "1.0.2"}
39+
"pp" {>= "1.1.2"}
40+
"csexp" {>= "1.5"}
41+
"ocamlformat-rpc-lib" {>= "0.21.0"}
42+
"odoc" {with-doc}
43+
"ocaml"
44+
"merlin-lib" {>= "4.9" & < "5.0"}
45+
]
46+
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
47+
build: [
48+
["dune" "subst"] {dev}
49+
[
50+
"dune"
51+
"build"
52+
"-j"
53+
jobs
54+
"ocaml-lsp-server.install"
55+
"--release"
56+
]
57+
]
58+
url {
59+
src:
60+
"https://github.com/ocaml/ocaml-lsp/releases/download/1.16.0-4.14/lsp-1.16.0-4.14.tbz"
61+
checksum: [
62+
"sha256=c5ab6538a7d7c6d8dbe06a68694e103018a013cb4ac230c0cd4cdc7cf858bc89"
63+
"sha512=41f2313c05bea2d2e85670ab129adcfc63ee29176049771acc216fd2cfad325848a5e3747690ea4a3fc8d1a5f6151aacc922e0f164f0073dfdc8d41d8bc6f29e"
64+
]
65+
}
66+
x-commit-hash: "16030d061d49adcc693ab84b880683ac3d617534"

0 commit comments

Comments
 (0)