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