Awesome
Better OCaml
This plugin is a drop-in replacement for the default OCaml package, fixing many of its shortcomings.
Installation
- Navigate to the Packages folder (Preferences → Browse Packages...)
- Unzip the ZIP archive of Better OCaml. Or, use
git clone git://github.com/whitequark/sublime-better-ocaml
, so that you could usegit 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) = ...
).