···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.2" & < "5.3"}
1414+ "dune" {>= "3.0.0"}
1515+ "csexp" {>= "1.5.1"}
1616+ "menhir" {dev & >= "20201216"}
1717+ "menhirLib" {dev & >= "20201216"}
1818+ "menhirSdk" {dev & >= "20201216"}
1919+]
2020+synopsis:
2121+ "Merlin's libraries"
2222+description:
2323+ "These libraries provides access to low-level compiler interfaces and the
2424+ standard higher-level merlin protocol. The library is provided as-is, is not
2525+ thoroughly documented, and its public API might break with any new release."
2626+url {
2727+ src:
2828+ "https://github.com/ocaml/merlin/releases/download/v5.1-502/merlin-5.1-502.tbz"
2929+ checksum: [
3030+ "sha256=4fd808bc26929cffcca8ea06344790159c10e3eaf9c914cf46ef79e917fcae15"
3131+ "sha512=1e582c8d3de6784a036b930136a568eb0cedf213a01041acfcff4eda9c6f74adab9a55c4c0d806b8fccbd882b14a984c9fba480f6c5950146b842d6c100a8d1f"
3232+ ]
3333+}
3434+x-commit-hash: "ce00b5bc2bc813bd1b0e2a49438b095042ff7727"
+82
packages/merlin/merlin.5.1-502/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+depends: [
1414+ "ocaml" {>= "5.2" & < "5.3"}
1515+ "dune" {>= "3.0.0"}
1616+ "merlin-lib" {= version}
1717+ "dot-merlin-reader" {>= "5.0"}
1818+ "ocaml-index" {>= "1.0" & post}
1919+ "yojson" {>= "2.0.0"}
2020+ "conf-jq" {with-test}
2121+ "ppxlib" {with-test}
2222+]
2323+conflicts: [
2424+ "seq" {!= "base"}
2525+ "base-effects"
2626+]
2727+synopsis:
2828+ "Editor helper, provides completion, typing and source browsing in Vim and Emacs"
2929+description:
3030+ "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."
3131+post-messages: [
3232+ "merlin installed.
3333+3434+Quick setup for VIM
3535+-------------------
3636+Append this to your .vimrc to add merlin to vim's runtime-path:
3737+ let g:opamshare = substitute(system('opam var share'),'\\n$','','''')
3838+ execute \"set rtp+=\" . g:opamshare . \"/merlin/vim\"
3939+4040+Also run the following line in vim to index the documentation:
4141+ :execute \"helptags \" . g:opamshare . \"/merlin/vim/doc\"
4242+4343+Quick setup for EMACS
4444+-------------------
4545+Add opam emacs directory to your load-path by appending this to your .emacs:
4646+ (let ((opam-share (ignore-errors (car (process-lines \"opam\" \"var\" \"share\")))))
4747+ (when (and opam-share (file-directory-p opam-share))
4848+ ;; Register Merlin
4949+ (add-to-list 'load-path (expand-file-name \"emacs/site-lisp\" opam-share))
5050+ (autoload 'merlin-mode \"merlin\" nil t nil)
5151+ ;; Automatically start it in OCaml buffers
5252+ (add-hook 'tuareg-mode-hook 'merlin-mode t)
5353+ (add-hook 'caml-mode-hook 'merlin-mode t)
5454+ ;; Use opam switch to lookup ocamlmerlin binary
5555+ (setq merlin-command 'opam)
5656+ ;; To easily change opam switches within a given Emacs session, you can
5757+ ;; install the minor mode https://github.com/ProofGeneral/opam-switch-mode
5858+ ;; and use one of its \"OPSW\" menus.
5959+ ))
6060+Take a look at https://github.com/ocaml/merlin for more information
6161+6262+Quick setup with opam-user-setup
6363+--------------------------------
6464+6565+Opam-user-setup support Merlin.
6666+6767+ $ opam user-setup install
6868+6969+should take care of basic setup.
7070+See https://github.com/OCamlPro/opam-user-setup
7171+"
7272+ {success & !user-setup:installed}
7373+]
7474+url {
7575+ src:
7676+ "https://github.com/ocaml/merlin/releases/download/v5.1-502/merlin-5.1-502.tbz"
7777+ checksum: [
7878+ "sha256=4fd808bc26929cffcca8ea06344790159c10e3eaf9c914cf46ef79e917fcae15"
7979+ "sha512=1e582c8d3de6784a036b930136a568eb0cedf213a01041acfcff4eda9c6f74adab9a55c4c0d806b8fccbd882b14a984c9fba480f6c5950146b842d6c100a8d1f"
8080+ ]
8181+}
8282+x-commit-hash: "ce00b5bc2bc813bd1b0e2a49438b095042ff7727"
+41
packages/ocaml-index/ocaml-index.1.0/opam
···11+opam-version: "2.0"
22+synopsis: "A tool that indexes value usages from cmt files"
33+description:
44+ "ocaml-index should integrate with the build system to index codebase and allow tools such as Merlin to perform project-wide occurrences queries."
55+maintainer: ["ulysse@tarides.com"]
66+authors: ["ulysse@tarides.com"]
77+license: "MIT"
88+homepage: "https://github.com/voodoos/ocaml-index"
99+bug-reports: "https://github.com/voodoos/ocaml-index/issues"
1010+depends: [
1111+ "dune" {>= "2.9"}
1212+ "ocaml" {>= "5.2"}
1313+ "merlin-lib" {>= "5.1-502"}
1414+ "odoc" {with-doc}
1515+]
1616+build: [
1717+ ["dune" "subst"] {dev}
1818+ [
1919+ "dune"
2020+ "build"
2121+ "-p"
2222+ name
2323+ "-j"
2424+ jobs
2525+ "--promote-install-files=false"
2626+ "@install"
2727+ "@runtest" {with-test}
2828+ "@doc" {with-doc}
2929+ ]
3030+ ["dune" "install" "-p" name "--create-install-files" name]
3131+]
3232+dev-repo: "git+https://github.com/voodoos/ocaml-index.git"
3333+url {
3434+ src:
3535+ "https://github.com/voodoos/ocaml-index/releases/download/v1.0/ocaml-index-1.0.tbz"
3636+ checksum: [
3737+ "sha256=01e39ca310d561f7012f5dad47905173747466c5c9f7dfe14833db5c72871e1c"
3838+ "sha512=3fa40158d20a9da66d6e10d4ff566457f9279f6e6b5012275ad30c11678a4516922f940817d4d70c9eec68dc2458848d09e75b5bd7f3f08aee01e82a063f0c1f"
3939+ ]
4040+}
4141+x-commit-hash: "0f9ffbbc9d1b4def495d3d2c7aa135a486bbcc9d"