1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:10:05 +08:00
SpaceVim/docs/layers/lang/ocaml.md
2021-06-21 20:39:29 +08:00

1.2 KiB

title description
SpaceVim lang#ocaml layer This layer is for OCaml development, provides autocompletion, syntax checking, and code formatting for OCaml files.

Available Layers >> lang#ocaml

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:

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

Features

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

Key bindings

Key Binding Description
gd jump at the definition of the identifier under the cursor
SPC l m v display Merlin version which currently labored
SPC l m t display type informations under the cursor or selected code snippet