This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/lang/ocaml/README.md

50 lines
1 KiB
Markdown
Raw Normal View History

2015-02-07 17:37:53 +00:00
# Ocaml contribution layer for Spacemacs
![logo](img/ocaml.png)
2015-02-08 04:32:45 +00:00
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc/generate-toc again -->
**Table of Contents**
- [Ocaml contribution layer for Spacemacs](#ocaml-contribution-layer-for-spacemacs)
- [Description](#description)
- [Install](#install)
- [OPAM packages](#opam-packages)
- [TODO](#todo)
<!-- markdown-toc end -->
2015-02-07 17:37:53 +00:00
## 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`
```elisp
(setq-default dotspacemacs-configuration-layers '(ocaml)
"List of contribution to load."
)
```
2015-02-08 04:32:45 +00:00
### OPAM packages
2015-02-07 17:37:53 +00:00
This layer requires some [opam](http://opam.ocaml.org) packages:
- `merlin`
To install them, use the following command:
```sh
opam install merlin
```
## TODO
- Add support for `flycheck` (using `flycheck-ocaml`)
- Add proper spacemacs key-bindings for basic merlin tasks