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