Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (46 sloc) 1.61 KB
opam-version: "2.0"
maintainer: ""
authors: [
"Louis Gesbert <>"
"Thomas Gazagnaire <>"
"Jun Furuse"
homepage: ""
bug-reports: ""
license: "LGPL"
tags: ["org:ocamlpro" "org:typerex"]
dev-repo: "git+"
build: [
["./configure" "--prefix" prefix]
depends: [
"ocaml" {< "4.06.0"}
"ocp-build" {build & >= "1.99.6-beta"}
"cmdliner" {< "0.9.8"}
post-messages: [
"This package requires additional configuration for use in editors. Install package 'user-setup', or manually:
* for Emacs, add these lines to ~/.emacs:
(add-to-list 'load-path \"%{share}%/emacs/site-lisp\")
(require 'ocp-indent)
* for Vim, add this line to ~/.vimrc:
set rtp^=\"%{share}%/ocp-indent/vim\"
{success & !user-setup:installed}
synopsis: "A simple tool to indent OCaml programs"
description: """
Ocp-indent is based on an approximate, tolerant OCaml parser and a simple stack
machine ; this is much faster and more reliable than using regexps. Presets and
configuration options available, with the possibility to set them project-wide.
Supports most common syntax extensions, and extensible for others.
* An indentor program, callable from the command-line or from within editors
* Bindings for popular editors
* A library that can be directly used by editor writers, or just for
approximate parsing."""
url {
src: ""
checksum: "md5=7515340b23df8884e4ae6f6a4315d5f7"