vim-ocaml


Ⅰ. 插件描述

Vim runtime files for OCaml

Ⅱ. 基本信息

创建日期:  2014-11-29
使用用户:  54
Github星:  65
插件作者:  OCaml

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'rgrinberg/vim-ocaml-if-this-was-a-movie'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'rgrinberg/vim-ocaml-if-this-was-a-movie'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'rgrinberg/vim-ocaml-if-this-was-a-movie'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/rgrinberg/vim-ocaml

Ⅳ. 文档说明

# vim-ocaml

Vim runtime files for OCaml. These are synced periodically with the builtin
support that comes with Vim. Users are recommended to use this repository
directly however as it's more up to date.

Installation

Depending on your plugin manager:

Plugin 'ocaml/vim-ocaml'
NeoBundleInstall ocaml/vim-ocaml'

" or use NeoBundleLazy
NeoBundleLazy 'rgrinberg/vim-ocaml', {'autoload' : {'filetypes' :
    \ ['ocaml', 'dune', 'opam', 'oasis', 'omake', 'ocamlbuild_tags', 'sexplib']}}

History

This repo started out by @rgrinberg extracting Markus Mottl's improvements to
the builtin OCaml support in Vim. Later, support for more OCaml related tools
was added: dune, opam etc. Nowadays, it's maintained by a team.

添加新评论