1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00

Add OCaml layer documentation

This commit is contained in:
Michael Lamb 2018-02-06 18:28:26 -06:00
parent 98b957bb96
commit 265ae055b3
2 changed files with 39 additions and 0 deletions

View File

@ -66,6 +66,7 @@ call SpaceVim#layers#disable('shell')
| [lang#lisp](https://spacevim.org/layers/lang/lisp/) | for lisp development |
| [lang#lua](https://spacevim.org/layers/lang/lua/) | This layer is for lua development, provide autocompletion, syntax checking, code format for lua file. |
| [lang#markdown](https://spacevim.org/layers/lang/markdown/) | Edit markdown within vim, autopreview markdown in the default browser, with this layer you can also format markdown file. |
| [lang#ocaml](https://spacevim.org/layers/lang/ocaml/) | This layer is for OCaml development
| [lang#php](https://spacevim.org/layers/lang/php/) | This layer adds PHP language support to SpaceVim |
| [lang#python](https://spacevim.org/layers/lang/python/) | This layer is for Python development, provide autocompletion, syntax checking, code format for python file. |
| [lang#ruby](https://spacevim.org/layers/lang/ruby/) | This layer is for ruby development, provide autocompletion, syntax checking, code format for ruby file. |

38
docs/layers/lang/ocaml.md Normal file
View File

@ -0,0 +1,38 @@
"=============================================================================
" ocaml.md --- OCaml layer file for SpaceVim
" Copyright (c) 2012-2016 Shidong Wang & Contributors
" Author:
" URL: https://spacevim.org
" License: MIT license
"=============================================================================
---
title: "SpaceVim lang#ocaml layer"
description: "This layer is for OCaml development"
---
# [SpaceVim Layers:](https://spacevim.org/layers) lang#ocaml
<!-- vim-markdown-toc GFM -->
- [Description](#description)
- [Install](#install)
- [Features](#features)
<!-- 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