From 265ae055b307822917e608e717a50b7819ddcc01 Mon Sep 17 00:00:00 2001 From: Michael Lamb Date: Tue, 6 Feb 2018 18:28:26 -0600 Subject: [PATCH] Add OCaml layer documentation --- docs/layers/index.md | 1 + docs/layers/lang/ocaml.md | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 docs/layers/lang/ocaml.md diff --git a/docs/layers/index.md b/docs/layers/index.md index b803d0c84..cb0d471f4 100644 --- a/docs/layers/index.md +++ b/docs/layers/index.md @@ -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. | diff --git a/docs/layers/lang/ocaml.md b/docs/layers/lang/ocaml.md new file mode 100644 index 000000000..6216daf60 --- /dev/null +++ b/docs/layers/lang/ocaml.md @@ -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 + + + +- [Description](#description) +- [Install](#install) +- [Features](#features) + + + +## 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