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" "merlin,dot-merlin-reader" "-j" "1"] {with-test & ocaml:version >= "4.03"} 12] 13depends: [ 14 "ocaml" {>= "4.02.3" & < "4.12"} 15 "dune" {>= "1.8.0"} 16 "dot-merlin-reader" {>= "3.4.2"} 17 "yojson" {>= "1.6.0" & < "2.0.0"} 18 "mdx" {with-test & >= "1.3.0"} 19 "conf-jq" {with-test} 20 "csexp" {>= "1.2.3"} 21 "result" {>= "1.5"} 22 "menhir" {dev} 23 "menhirLib" {dev} 24 "menhirSdk" {dev} 25] 26conflicts: [ 27 "biniou" {>= "1.2.2"} 28] 29synopsis: 30 "Editor helper, provides completion, typing and source browsing in Vim and Emacs" 31description: 32 "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." 33post-messages: [ 34 "merlin installed. 35 36Quick setup for VIM 37------------------- 38Append this to your .vimrc to add merlin to vim's runtime-path: 39 let g:opamshare = substitute(system('opam var share'),'\\n$','','''') 40 execute \"set rtp+=\" . g:opamshare . \"/merlin/vim\" 41 42Also run the following line in vim to index the documentation: 43 :execute \"helptags \" . g:opamshare . \"/merlin/vim/doc\" 44 45Quick setup for EMACS 46------------------- 47Add opam emacs directory to your load-path by appending this to your .emacs: 48 (let ((opam-share (ignore-errors (car (process-lines \"opam\" \"config\" \"var\" \"share\"))))) 49 (when (and opam-share (file-directory-p opam-share)) 50 ;; Register Merlin 51 (add-to-list 'load-path (expand-file-name \"emacs/site-lisp\" opam-share)) 52 (autoload 'merlin-mode \"merlin\" nil t nil) 53 ;; Automatically start it in OCaml buffers 54 (add-hook 'tuareg-mode-hook 'merlin-mode t) 55 (add-hook 'caml-mode-hook 'merlin-mode t) 56 ;; Use opam switch to lookup ocamlmerlin binary 57 (setq merlin-command 'opam))) 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/v3.7.0/merlin-3.7.0.tbz" 76 checksum: [ 77 "sha256=a3ed11a245a6af1c01463e6e4a59fe94006a5043e9fd4243bdf7296c64e24619" 78 "sha512=d5567f18248b22450c5edb9622feb86e9d7308deac7e08cf2aedb262ce2260e20600b3dd49a235aea00be4de73f803c554f53efd5c41029e14ffb5cbec1f0162" 79 ] 80} 81x-commit-hash: "67b309e8c72bc0994b31255f2f694adb40e345d6"