1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-27 13:30:05 +08:00
SpaceVim/docs/layers/lang/ocaml.md

38 lines
1023 B
Markdown
Raw Normal View History

2018-02-07 08:28:26 +08:00
---
title: "SpaceVim lang#ocaml layer"
2018-02-07 13:49:44 +08:00
description: "This layer is for Python development, provide autocompletion, syntax checking, code format for ocaml file."
2018-02-07 08:28:26 +08:00
---
# [SpaceVim Layers:](https://spacevim.org/layers) lang#ocaml
<!-- vim-markdown-toc GFM -->
- [Description](#description)
- [Install](#install)
- [Features](#features)
2018-02-07 13:49:44 +08:00
- [Key bindings](#key-bindings)
2018-02-07 08:28:26 +08:00
<!-- vim-markdown-toc -->
## Description
This layer is for OCaml development.
When using in a multi-file project, be sure to include a [.merlin](https://github.com/ocaml/merlin/wiki/project-configuration) file.
## Install
To use this configuration layer, add `call SpaceVim#layers#load('lang#ocaml')` to your custom configuration file.
## Features
- auto-completion
- syntax checking
- goto definition
2018-02-07 13:49:44 +08:00
## Key bindings
| Key Binding | Description |
| ----------- | --------------------------------------------------------- |
| `gd` | jump at the definition of the identifier under the cursor |