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" 7build: [ 8 ["dune" "subst"] {dev} 9 ["dune" "build" "-p" name "-j" jobs] 10 ["dune" "runtest" "-p" name "-j" "1"] {with-test & os != "macos" & ocaml:version >= "4.03"} 11] 12depends: [ 13 "ocaml" {>= "4.02.3" & < "4.12"} 14 "dune" {>= "1.8.0"} 15 "ocamlfind" {>= "1.5.2"} 16 "yojson" {>= "1.6.0" & < "2.0.0"} 17 "mdx" {with-test & >= "1.3.0"} 18 "conf-jq" {with-test} 19] 20conflicts: [ 21 "biniou" {>= "1.2.2"} 22] 23synopsis: 24 "Editor helper, provides completion, typing and source browsing in Vim and Emacs" 25description: 26 "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." 27post-messages: [ 28 "merlin installed. 29 30Quick setup for VIM 31------------------- 32Append this to your .vimrc to add merlin to vim's runtime-path: 33 let g:opamshare = substitute(system('opam config var share'),'\\n$','','''') 34 execute \"set rtp+=\" . g:opamshare . \"/merlin/vim\" 35 36Also run the following line in vim to index the documentation: 37 :execute \"helptags \" . g:opamshare . \"/merlin/vim/doc\" 38 39Quick setup for EMACS 40------------------- 41Add opam emacs directory to your load-path by appending this to your .emacs: 42 (let ((opam-share (ignore-errors (car (process-lines \"opam\" \"config\" \"var\" \"share\"))))) 43 (when (and opam-share (file-directory-p opam-share)) 44 ;; Register Merlin 45 (add-to-list 'load-path (expand-file-name \"emacs/site-lisp\" opam-share)) 46 (autoload 'merlin-mode \"merlin\" nil t nil) 47 ;; Automatically start it in OCaml buffers 48 (add-hook 'tuareg-mode-hook 'merlin-mode t) 49 (add-hook 'caml-mode-hook 'merlin-mode t) 50 ;; Use opam switch to lookup ocamlmerlin binary 51 (setq merlin-command 'opam))) 52 53Take a look at https://github.com/ocaml/merlin for more information 54 55Quick setup with opam-user-setup 56-------------------------------- 57 58Opam-user-setup support Merlin. 59 60 $ opam user-setup install 61 62should take care of basic setup. 63See https://github.com/OCamlPro/opam-user-setup 64" 65 {success & !user-setup:installed} 66] 67url { 68 src: 69 "https://github.com/ocaml/merlin/releases/download/v3.3.9/merlin-v3.3.9.tbz" 70 checksum: [ 71 "sha256=a3170f1a993d810d552a21a4baa328dff0fe9ac9bf4b8aa6ba3f179a9240cf02" 72 "sha512=63034766c7dc7de21e3ce8624ed760a9d76b79cacbee8c17ecef2c62df00438ebd84f43a0d558cf8d9c4a800dac99e4b2f25c324f363a590cc294e46420f46aa" 73 ] 74}