···11+opam-version: "2.0"
22+maintainer: "defree@gmail.com"
33+authors: "The Merlin team"
44+homepage: "https://github.com/ocaml/merlin"
55+bug-reports: "https://github.com/ocaml/merlin/issues"
66+dev-repo: "git+https://github.com/ocaml/merlin.git"
77+license: "MIT"
88+build: [
99+ ["dune" "subst"] {dev}
1010+ ["dune" "build" "-p" name "-j" jobs]
1111+]
1212+depends: [
1313+ "ocaml" {>= "5.3" & < "5.4"}
1414+ "dune" {>= "3.0.0"}
1515+ "csexp" {>= "1.5.1"}
1616+ "alcotest" {with-test}
1717+ "menhir" {dev & >= "20201216"}
1818+ "menhirLib" {dev & >= "20201216"}
1919+ "menhirSdk" {dev & >= "20201216"}
2020+]
2121+available: opam-version >= "2.1.0"
2222+flags: avoid-version
2323+synopsis:
2424+ "Merlin's libraries"
2525+description:
2626+ "These libraries provides access to low-level compiler interfaces and the
2727+ standard higher-level merlin protocol. The library is provided as-is, is not
2828+ thoroughly documented, and its public API might break with any new release."
2929+url {
3030+ src: "https://github.com/xvw/merlin/archive/3438e34a77bd1c3c7a10bffa0c45c419ff91286f.tar.gz"
3131+ checksum: "sha256=42b33f3a60d6648d8fc3b8e3bb72453ab6364d40019c5c2be9aa42f26f255a1c"
3232+}
+79
packages/merlin/merlin.5.3~5.3preview/opam
···11+opam-version: "2.0"
22+maintainer: "defree@gmail.com"
33+authors: "The Merlin team"
44+homepage: "https://github.com/ocaml/merlin"
55+bug-reports: "https://github.com/ocaml/merlin/issues"
66+dev-repo: "git+https://github.com/ocaml/merlin.git"
77+license: "MIT"
88+build: [
99+ ["dune" "subst"] {dev}
1010+ ["dune" "build" "-p" name "-j" jobs]
1111+ ["dune" "runtest" "-p" name "-j" jobs] {with-test}
1212+]
1313+flags: avoid-version
1414+available: opam-version >= "2.1.0"
1515+depends: [
1616+ "dune" {>= "3.0.0"}
1717+ "ocaml" {>= "5.3" & < "5.4"}
1818+ "merlin-lib" {= version}
1919+ "dot-merlin-reader" {= version}
2020+ "ocaml-index" {>= "1.0" & post}
2121+ "yojson" {>= "2.0.0"}
2222+ "conf-jq" {with-test}
2323+ "ppxlib" {with-test}
2424+ "alcotest" {with-test}
2525+]
2626+conflicts: [
2727+ "seq" {!= "base"}
2828+]
2929+synopsis:
3030+ "Editor helper, provides completion, typing and source browsing in Vim and Emacs"
3131+description:
3232+ "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."
3333+post-messages: [
3434+ "merlin installed.
3535+3636+Quick setup for VIM
3737+-------------------
3838+Append this to your .vimrc to add merlin to vim's runtime-path:
3939+ let g:opamshare = substitute(system('opam var share'),'\\n$','','''')
4040+ execute \"set rtp+=\" . g:opamshare . \"/merlin/vim\"
4141+4242+Also run the following line in vim to index the documentation:
4343+ :execute \"helptags \" . g:opamshare . \"/merlin/vim/doc\"
4444+4545+Quick setup for EMACS
4646+-------------------
4747+Add opam emacs directory to your load-path by appending this to your .emacs:
4848+ (let ((opam-share (ignore-errors (car (process-lines \"opam\" \"var\" \"share\")))))
4949+ (when (and opam-share (file-directory-p opam-share))
5050+ ;; Register Merlin
5151+ (add-to-list 'load-path (expand-file-name \"emacs/site-lisp\" opam-share))
5252+ (autoload 'merlin-mode \"merlin\" nil t nil)
5353+ ;; Automatically start it in OCaml buffers
5454+ (add-hook 'tuareg-mode-hook 'merlin-mode t)
5555+ (add-hook 'caml-mode-hook 'merlin-mode t)
5656+ ;; Use opam switch to lookup ocamlmerlin binary
5757+ (setq merlin-command 'opam)
5858+ ;; To easily change opam switches within a given Emacs session, you can
5959+ ;; install the minor mode https://github.com/ProofGeneral/opam-switch-mode
6060+ ;; and use one of its \"OPSW\" menus.
6161+ ))
6262+Take a look at https://github.com/ocaml/merlin for more information
6363+6464+Quick setup with opam-user-setup
6565+--------------------------------
6666+6767+Opam-user-setup support Merlin.
6868+6969+ $ opam user-setup install
7070+7171+should take care of basic setup.
7272+See https://github.com/OCamlPro/opam-user-setup
7373+"
7474+ {success & !user-setup:installed}
7575+]
7676+url {
7777+ src: "https://github.com/xvw/merlin/archive/3438e34a77bd1c3c7a10bffa0c45c419ff91286f.tar.gz"
7878+ checksum: "sha256=42b33f3a60d6648d8fc3b8e3bb72453ab6364d40019c5c2be9aa42f26f255a1c"
7979+}