this repo has no description

[new release] merlin and dot-merlin-reader (3.5.0)

CHANGES:

Tue Apr 12 11:44:22 AM CET 2021

+ merlin binary
- external configuration reading:
+ use relative paths to communicate with Dune when possible. This solves
issues related to symlinks on Unix and improve Windows support (ocaml/merlin#1271,
fixes ocaml/merlin#1288)
+ make the `workdir` configuration value when using the
`dune ocaml-merlin` configuration provider the same as when using
`dot-merlin-reader` so that ppxes behaves in the same way as before
(ocaml/merlin#1284, fixes ocaml/dune#4479, discussion in ocaml/merlin#1292)
- destruct: make the destruct command more resilient to ill-typed
expressions and when called without nodes (ocaml/merlin#1304, fixes ocaml/merlin#1300)
- Mppx: don't restore cookies after invocation. Ppx are invoked only once
so there is no need to manage cookies. This small change should increase
performance and should not change any other behavior (ocaml/merlin#1309)
- windows:
+ system command variant: do not open a window console when
launching a ppx (ocaml/merlin#1270, fixes ocaml/merlin#714)
+ fix Emacs hanging when starting Merlin (ocaml/merlin#1263)
+ fix path canonicalization (ocaml/merlin#1254)
- fix same file documentation bug (ocaml/merlin#1265 by @ulugbekna, fixes ocaml/merlin#1261)
+ editor modes
- emacs:
+ modernization of the elisp code and conformance with coding
guidelines (ocaml/merlin#1247, ocaml/merlin#1310 by Steve Purcell )
+ use opam var where applicable (ocaml/merlin#1310)
+ fix "wrong number of argument" (ocaml/merlin#1250 by @atharvashukla, fixes ocaml/merlin#1234)
+ fix for Neovim's CursorMoved semantics (ocaml/merlin#1213 by @ddickstein)
- vim & emacs : new client-side "merlin use package" commands, restoring
previous behavior (ocaml/merlin#1272, fixes ocaml/merlin#1191)
+ test suite
- cover the document fix (ocaml/merlin#1265, ocaml/merlin#1315)

Changed files
+106
packages
dot-merlin-reader
dot-merlin-reader.3.5.0
merlin
merlin.3.5.0
+29
packages/dot-merlin-reader/dot-merlin-reader.3.5.0/opam
···
···
+
opam-version: "2.0"
+
maintainer: "defree@gmail.com"
+
authors: "The Merlin team"
+
synopsis: "Reads config files for merlin"
+
homepage: "https://github.com/ocaml/merlin"
+
bug-reports: "https://github.com/ocaml/merlin/issues"
+
dev-repo: "git+https://github.com/ocaml/merlin.git"
+
build: [
+
["dune" "subst"] {pinned}
+
["dune" "build" "-p" name "-j" jobs]
+
]
+
depends: [
+
"ocaml" {>= "4.02.1" & < "4.12"}
+
"dune" {>= "1.8.0"}
+
"yojson" {>= "1.6.0"}
+
"ocamlfind" {>= "1.6.0"}
+
"csexp" {>= "1.2.3"}
+
"result" {>= "1.5"}
+
"menhirLib" { dev }
+
]
+
x-commit-hash: "353bcb82443b37cc1924039578d2b22cdb6951a9"
+
url {
+
src:
+
"https://github.com/ocaml/merlin/releases/download/v3.5.0/merlin-v3.5.0.tbz"
+
checksum: [
+
"sha256=cdf5426a0f2702a862d8a0290f6175daee53e044659899060597134ad2485328"
+
"sha512=77b89009ac57a7c4e524d1a091211dd75451fd7d342bccc37012ce0a7a488bf269631fede6cb75d345f521be7ad488416ec0282090d377225dba7e8b385bc1e2"
+
]
+
}
+77
packages/merlin/merlin.3.5.0/opam
···
···
+
opam-version: "2.0"
+
maintainer: "defree@gmail.com"
+
authors: "The Merlin team"
+
homepage: "https://github.com/ocaml/merlin"
+
bug-reports: "https://github.com/ocaml/merlin/issues"
+
dev-repo: "git+https://github.com/ocaml/merlin.git"
+
build: [
+
["dune" "subst"] {pinned}
+
["dune" "build" "-p" name "-j" jobs]
+
["dune" "runtest" "-p" "merlin,dot-merlin-reader" "-j" "1"] {with-test & ocaml:version >= "4.03"}
+
]
+
depends: [
+
"ocaml" {>= "4.02.3" & < "4.12"}
+
"dune" {>= "1.8.0"}
+
"dot-merlin-reader" {>= "3.4.2"}
+
"yojson" {>= "1.6.0"}
+
"mdx" {with-test & >= "1.3.0"}
+
"conf-jq" {with-test}
+
"csexp" {>= "1.2.3"}
+
"result" {>= "1.5"}
+
"menhir" {dev}
+
"menhirLib" {dev}
+
"menhirSdk" {dev}
+
]
+
synopsis:
+
"Editor helper, provides completion, typing and source browsing in Vim and Emacs"
+
description:
+
"Merlin is an assistant for editing OCaml code. It aims to provide the features available in modern IDEs: error reporting, auto completion, source browsing and much more."
+
post-messages: [
+
"merlin installed.
+
+
Quick setup for VIM
+
-------------------
+
Append this to your .vimrc to add merlin to vim's runtime-path:
+
let g:opamshare = substitute(system('opam var share'),'\\n$','','''')
+
execute \"set rtp+=\" . g:opamshare . \"/merlin/vim\"
+
+
Also run the following line in vim to index the documentation:
+
:execute \"helptags \" . g:opamshare . \"/merlin/vim/doc\"
+
+
Quick setup for EMACS
+
-------------------
+
Add opam emacs directory to your load-path by appending this to your .emacs:
+
(let ((opam-share (ignore-errors (car (process-lines \"opam\" \"config\" \"var\" \"share\")))))
+
(when (and opam-share (file-directory-p opam-share))
+
;; Register Merlin
+
(add-to-list 'load-path (expand-file-name \"emacs/site-lisp\" opam-share))
+
(autoload 'merlin-mode \"merlin\" nil t nil)
+
;; Automatically start it in OCaml buffers
+
(add-hook 'tuareg-mode-hook 'merlin-mode t)
+
(add-hook 'caml-mode-hook 'merlin-mode t)
+
;; Use opam switch to lookup ocamlmerlin binary
+
(setq merlin-command 'opam)))
+
+
Take a look at https://github.com/ocaml/merlin for more information
+
+
Quick setup with opam-user-setup
+
--------------------------------
+
+
Opam-user-setup support Merlin.
+
+
$ opam user-setup install
+
+
should take care of basic setup.
+
See https://github.com/OCamlPro/opam-user-setup
+
"
+
{success & !user-setup:installed}
+
]
+
x-commit-hash: "353bcb82443b37cc1924039578d2b22cdb6951a9"
+
url {
+
src:
+
"https://github.com/ocaml/merlin/releases/download/v3.5.0/merlin-v3.5.0.tbz"
+
checksum: [
+
"sha256=cdf5426a0f2702a862d8a0290f6175daee53e044659899060597134ad2485328"
+
"sha512=77b89009ac57a7c4e524d1a091211dd75451fd7d342bccc37012ce0a7a488bf269631fede6cb75d345f521be7ad488416ec0282090d377225dba7e8b385bc1e2"
+
]
+
}