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