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