Ⅰ. 插件描述
A wrapper Vim plugin for OCamlSpotter written in pure Vim Script.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'cohama/the-ocamlspot-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'cohama/the-ocamlspot-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'cohama/the-ocamlspot-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/cohama/the-ocamlspot.vim
Ⅳ. 文档说明
The OCamlSpot Dot Vim !!!
the-ocamlspot.vim is a wrapper of OCamlSpotter.
You can easily browse an OCaml code.
Indicating the type information of a term, jumping to the definition.
And a lot of features will be implemented soon!
This plugin depends on OCamlSpotter
You should install OCamlSpotter before using this plugin.
Screen Shots
Indicate Type

Jump to Definition

Installation
If you use gmarik/Vundle
Bundle 'cohama/the-ocamlspot.vim'If you use Shougo/NeoBundle
NeoBundle 'cohama/the-ocamlspot.vim'or
NeoBundleLazy 'cohama/the-ocamlspot.vim', {
\ 'autoload' : {
\ 'filetypes' : 'ocaml'
\ }}