Skip to content

Commit

Permalink
[new release] ocaml-lsp-server, lsp and jsonrpc (1.14.3)
Browse files Browse the repository at this point in the history
CHANGES:

## Fixes

- Fix document syncing for ranges that span an entire line (ocaml/ocaml-lsp#927)

- Respect the client's completion item resolve and preSelect capabilities
  (ocaml/ocaml-lsp#925, ocaml/ocaml-lsp#936)

- Disable polling for dune's watch mode on Windows and OCaml 4.14.0 (ocaml/ocaml-lsp#935)

## Features

- Semantic highlighting support is enabled by default (ocaml/ocaml-lsp#933)

- Re-enable `ocamlformat-rpc` for formatting code snippets (but not files) (ocaml/ocaml-lsp#920, ocaml/ocaml-lsp#939)

  One needs to have either `ocamlformat` version > 0.21.0 or, otherwise,
  `ocamlformat-rpc` package installed.

- Add custom ocamllsp/hoverExtended request (ocaml/ocaml-lsp#561)

- Support utf-8 position encoding clients (ocaml/ocaml-lsp#919)

- Upgrade to merlin 4.7 and use merlin's `verbosity=smart` by default, which
  allows unwrapping module alias types (ocaml/ocaml-lsp#942)

## Fixes

- Fix semantic highlighting of "long identifiers," e.g., `Foo.Bar.x` (ocaml/ocaml-lsp#932)
  • Loading branch information
ulugbekna committed Dec 16, 2022
1 parent 08040ec commit ca852d7
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 0 deletions.
48 changes: 48 additions & 0 deletions packages/jsonrpc/jsonrpc.1.14.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
opam-version: "2.0"
synopsis: "Jsonrpc protocol implemenation"
description: "See https://www.jsonrpc.org/specification"
maintainer: ["Rudi Grinberg <me@rgrinberg.com>"]
authors: [
"Andrey Popp <8mayday@gmail.com>"
"Rusty Key <iam@stfoo.ru>"
"Louis Roché <louis@louisroche.net>"
"Oleksiy Golovko <alexei.golovko@gmail.com>"
"Rudi Grinberg <me@rgrinberg.com>"
"Sacha Ayoun <sachaayoun@gmail.com>"
"cannorin <cannorin@gmail.com>"
"Ulugbek Abdullaev <ulugbekna@gmail.com>"
"Thibaut Mattio <thibaut.mattio@gmail.com>"
"Max Lantas <mnxndev@outlook.com>"
]
license: "ISC"
homepage: "https://github.com/ocaml/ocaml-lsp"
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
depends: [
"dune" {>= "3.0"}
"ocaml" {>= "4.08"}
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
build: [
["dune" "subst"] {dev}
["ocaml" "unix.cma" "unvendor.ml"]
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@doc" {with-doc}
]
]
url {
src:
"https://github.com/ocaml/ocaml-lsp/releases/download/1.14.3/lsp-1.14.3.tbz"
checksum: [
"sha256=704ed2a17073f0fcaed6fa25e4eef1b84cc91978096e549df37bf8c75136a20a"
"sha512=e9a5c65d7b45e2278e79e855bd84a353ea97f8c90b5b45cde9d3d0ee4ff83d4068f34eea9710ac5be0bb081e3e38606ce5e9349d56f28972fcf77cacbf3b1918"
]
}
x-commit-hash: "40e842e02083b6b01fe08575c119b70998937a8e"
59 changes: 59 additions & 0 deletions packages/lsp/lsp.1.14.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
opam-version: "2.0"
synopsis: "LSP protocol implementation in OCaml"
description: """

Implementation of the LSP protocol in OCaml. It is designed to be as portable as
possible and does not make any assumptions about IO.
"""
maintainer: ["Rudi Grinberg <me@rgrinberg.com>"]
authors: [
"Andrey Popp <8mayday@gmail.com>"
"Rusty Key <iam@stfoo.ru>"
"Louis Roché <louis@louisroche.net>"
"Oleksiy Golovko <alexei.golovko@gmail.com>"
"Rudi Grinberg <me@rgrinberg.com>"
"Sacha Ayoun <sachaayoun@gmail.com>"
"cannorin <cannorin@gmail.com>"
"Ulugbek Abdullaev <ulugbekna@gmail.com>"
"Thibaut Mattio <thibaut.mattio@gmail.com>"
"Max Lantas <mnxndev@outlook.com>"
]
license: "ISC"
homepage: "https://github.com/ocaml/ocaml-lsp"
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
depends: [
"dune" {>= "3.0"}
"jsonrpc" {= version}
"yojson"
"ppx_yojson_conv_lib" {>= "v0.14"}
"cinaps" {with-test}
"menhir" {>= "20211230" & with-test}
"ppx_expect" {>= "v0.15.0" & with-test}
"uutf" {>= "1.0.2"}
"odoc" {with-doc}
"ocaml" {>= "4.12"}
]
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
build: [
["dune" "subst"] {dev}
["ocaml" "unix.cma" "unvendor.ml"]
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@doc" {with-doc}
]
]
url {
src:
"https://github.com/ocaml/ocaml-lsp/releases/download/1.14.3/lsp-1.14.3.tbz"
checksum: [
"sha256=704ed2a17073f0fcaed6fa25e4eef1b84cc91978096e549df37bf8c75136a20a"
"sha512=e9a5c65d7b45e2278e79e855bd84a353ea97f8c90b5b45cde9d3d0ee4ff83d4068f34eea9710ac5be0bb081e3e38606ce5e9349d56f28972fcf77cacbf3b1918"
]
}
x-commit-hash: "40e842e02083b6b01fe08575c119b70998937a8e"
64 changes: 64 additions & 0 deletions packages/ocaml-lsp-server/ocaml-lsp-server.1.14.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
opam-version: "2.0"
synopsis: "LSP Server for OCaml"
description: "An LSP server for OCaml."
maintainer: ["Rudi Grinberg <me@rgrinberg.com>"]
authors: [
"Andrey Popp <8mayday@gmail.com>"
"Rusty Key <iam@stfoo.ru>"
"Louis Roché <louis@louisroche.net>"
"Oleksiy Golovko <alexei.golovko@gmail.com>"
"Rudi Grinberg <me@rgrinberg.com>"
"Sacha Ayoun <sachaayoun@gmail.com>"
"cannorin <cannorin@gmail.com>"
"Ulugbek Abdullaev <ulugbekna@gmail.com>"
"Thibaut Mattio <thibaut.mattio@gmail.com>"
"Max Lantas <mnxndev@outlook.com>"
]
license: "ISC"
homepage: "https://github.com/ocaml/ocaml-lsp"
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
depends: [
"dune" {>= "3.0"}
"yojson"
"re" {>= "1.5.0"}
"ppx_yojson_conv_lib" {>= "v0.14"}
"dune-rpc" {>= "3.4.0"}
"chrome-trace" {>= "3.3.0"}
"dyn"
"stdune"
"fiber" {>= "3.1.1"}
"xdg"
"ordering"
"dune-build-info"
"spawn"
"ocamlc-loc" {>= "3.5.0"}
"omd" {>= "1.3.2" & < "2.0.0~alpha1"}
"octavius" {>= "1.2.2"}
"uutf" {>= "1.0.2"}
"pp" {>= "1.1.2"}
"csexp" {>= "1.5"}
"ocamlformat-rpc-lib" {>= "0.21.0"}
"odoc" {with-doc}
"ocaml" {>= "4.14" & < "4.15"}
]
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-j"
jobs
"ocaml-lsp-server.install"
"--release"
]
]
url {
src:
"https://github.com/ocaml/ocaml-lsp/releases/download/1.14.3/lsp-1.14.3.tbz"
checksum: [
"sha256=704ed2a17073f0fcaed6fa25e4eef1b84cc91978096e549df37bf8c75136a20a"
"sha512=e9a5c65d7b45e2278e79e855bd84a353ea97f8c90b5b45cde9d3d0ee4ff83d4068f34eea9710ac5be0bb081e3e38606ce5e9349d56f28972fcf77cacbf3b1918"
]
}
x-commit-hash: "40e842e02083b6b01fe08575c119b70998937a8e"

0 comments on commit ca852d7

Please sign in to comment.