ocamlMultiAnnot


Ⅰ. 插件描述

Annotation for mutiple files + bugfixes

Ⅱ. 基本信息

创建日期:  2012-01-26
使用用户:  1
Github星:  1
插件作者:  Pierre Vittet

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/ocamlmultiannot'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/ocamlmultiannot'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/ocamlmultiannot'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This plugin is an improvement of the official ocaml ftplugin.

It corrects the 2 following bugs:
    - If nowrapscan is set, as annot file was not always read from beginning, we could not find result for information between the beginning of file and cursor position.
    - In splitted view, when we were reloading the .annot file, it was closing one of the splitted view.

New functionnality:
If we work with several ocaml .ml files, annotation are loaded for every file and so we can use those annotation for every buffer.

Added with version 1.1:
In addition to printing the type with <LocalLeader>t, save the type in the unnamed register, in order to copy/use it more easily.

I have tested this pugin on my own computer during a few weeks without bugs, please feel free to report bugs.

The plugin is essentially based on the official ocaml ftplugin, I would like to thanks:
David Baelde
Mike Leary
Markus Mottl
Stefano Zacchiroli
Vincent Aravantinos
and others contributors to ocaml vim integration.

添加新评论