Better OCaml

August 31, 2015 · View on GitHub

This plugin is a drop-in replacement for the default OCaml package, fixing many of its shortcomings.

Installation

  1. Navigate to the Packages folder (Preferences → Browse Packages...)
  2. Unzip the ZIP archive of Better OCaml. Or, use git clone git://github.com/whitequark/sublime-better-ocaml, so that you could use git pull to update.

Features

  • Fixed highlighting of object-oriented code,
  • Added missing keywords and combinations: inherit!, val mutable and others,
  • Added support for keywords added by Pa_lwt syntax extension,
  • Added support for locally abstract types (let foo (type a) (bar : a) = ...).