this repo has no description
1opam-version: "2.0"
2maintainer: "defree@gmail.com"
3authors: "The Merlin team"
4homepage: "https://github.com/ocaml/merlin"
5bug-reports: "https://github.com/ocaml/merlin/issues"
6dev-repo: "git+https://github.com/ocaml/merlin.git"
7license: "MIT"
8build: [
9 ["dune" "subst"] {dev}
10 ["dune" "build" "-p" name "-j" jobs]
11 ["dune" "runtest" "-p" name "-j" jobs] {with-test}
12]
13depends: [
14 "ocaml" {>= "5.1" & < "5.2"}
15 "dune" {>= "2.9.0"}
16 "merlin-lib" {= version}
17 "dot-merlin-reader" {>= "4.9"}
18 "yojson" {>= "2.0.0"}
19 "conf-jq" {with-test}
20 "ppxlib" {with-test}
21]
22conflicts: [
23 "seq" {!= "base"}
24 "base-effects"
25]
26synopsis:
27 "Editor helper, provides completion, typing and source browsing in Vim and Emacs"
28description:
29 "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."
30post-messages: [
31 "merlin installed.
32
33Quick setup for VIM
34-------------------
35Append this to your .vimrc to add merlin to vim's runtime-path:
36 let g:opamshare = substitute(system('opam var share'),'\\n$','','''')
37 execute \"set rtp+=\" . g:opamshare . \"/merlin/vim\"
38
39Also run the following line in vim to index the documentation:
40 :execute \"helptags \" . g:opamshare . \"/merlin/vim/doc\"
41
42Quick setup for EMACS
43-------------------
44Add opam emacs directory to your load-path by appending this to your .emacs:
45 (let ((opam-share (ignore-errors (car (process-lines \"opam\" \"var\" \"share\")))))
46 (when (and opam-share (file-directory-p opam-share))
47 ;; Register Merlin
48 (add-to-list 'load-path (expand-file-name \"emacs/site-lisp\" opam-share))
49 (autoload 'merlin-mode \"merlin\" nil t nil)
50 ;; Automatically start it in OCaml buffers
51 (add-hook 'tuareg-mode-hook 'merlin-mode t)
52 (add-hook 'caml-mode-hook 'merlin-mode t)
53 ;; Use opam switch to lookup ocamlmerlin binary
54 (setq merlin-command 'opam)
55 ;; To easily change opam switches within a given Emacs session, you can
56 ;; install the minor mode https://github.com/ProofGeneral/opam-switch-mode
57 ;; and use one of its \"OPSW\" menus.
58 ))
59Take a look at https://github.com/ocaml/merlin for more information
60
61Quick setup with opam-user-setup
62--------------------------------
63
64Opam-user-setup support Merlin.
65
66 $ opam user-setup install
67
68should take care of basic setup.
69See https://github.com/OCamlPro/opam-user-setup
70"
71 {success & !user-setup:installed}
72]
73url {
74 src:
75 "https://github.com/ocaml/merlin/releases/download/v4.14-501/merlin-4.14-501.tbz"
76 checksum: [
77 "sha256=b7e9e96e924058c2ce429642788aa2e390720d441e224538bcf494a65203a292"
78 "sha512=734d760b1f73652bbd1d25736d08336c2df15f4eaa1d4c7aed345e83d1375b54266cb78dbeb698870a668633fbd2c7fece4dd161a50fba92f245dfad4b69c4c9"
79 ]
80}
81x-commit-hash: "7d7f525180f5979516e10c05d0cd49823edb5ef1"