mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:40:05 +08:00
43 lines
1009 B
Markdown
43 lines
1009 B
Markdown
---
|
|
title: "SpaceVim lang#ocaml layer"
|
|
description: "This layer is for Python development, provide autocompletion, syntax checking, code format for ocaml file."
|
|
---
|
|
|
|
# [Available Layers](../../) >> lang#ocaml
|
|
|
|
<!-- vim-markdown-toc GFM -->
|
|
|
|
- [Description](#description)
|
|
- [Install](#install)
|
|
- [Features](#features)
|
|
- [Key bindings](#key-bindings)
|
|
|
|
<!-- 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, update custom configuration file with:
|
|
|
|
```toml
|
|
[[layers]]
|
|
name = "lang#ocaml"
|
|
```
|
|
|
|
## Features
|
|
|
|
- auto-completion
|
|
- syntax checking
|
|
- goto definition
|
|
|
|
## Key bindings
|
|
|
|
| Key Binding | Description |
|
|
| ----------- | --------------------------------------------------------- |
|
|
| `gd` | jump at the definition of the identifier under the cursor |
|