spacemacs/contrib/lang/ocaml/README.md
2015-02-07 23:32:45 -05:00

1 KiB

Ocaml contribution layer for Spacemacs

logo

Table of Contents

Description

This is a very basic layer for editing ocaml files.

  • Syntax highlighting via tuareg-mode
  • Error reporting, completion and type display via merlin

Install

To use this contribution add it to your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '(ocaml)
"List of contribution to load."
)

OPAM packages

This layer requires some opam packages:

  • merlin

To install them, use the following command:

opam install merlin 

TODO

  • Add support for flycheck (using flycheck-ocaml)
  • Add proper spacemacs key-bindings for basic merlin tasks