Back to Spacevim

SpaceVim lang#ocaml layer

docs/layers/lang/ocaml.md

2.4.01.1 KB
Original Source

Available Layers >> lang#ocaml

<!-- vim-markdown-toc GFM --> <!-- vim-markdown-toc -->

Description

This layer is for OCaml development.

When using in a multi-file project, be sure to include a .merlin file.

Install

To use this configuration layer, update your custom configuration file with:

toml
[[layers]]
  name = "lang#ocaml"

Features

  • auto-completion
  • syntax checking
  • goto definition
  • type hint
  • check Merlin version

Key bindings

Key BindingDescription
gdjump at the definition of the identifier under the cursor
SPC l m vdisplay Merlin version which currently labored
SPC l m tdisplay type informations under the cursor or selected code snippet