vim-ocaml-conceal


Ⅰ. 插件描述

vim conceal syntax file for ocaml

Ⅱ. 基本信息

创建日期:  2010-11-06
使用用户:  6
Github星:  3
插件作者:  Paul Meng

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

ocaml.vim

Vim 7.3 comes with a new feature called "conceal."
One application of it is dynamically displaying unicode glyph of a given combination of patterns or keywords.
For instance, we can display unicode right arrow → on the screen with ascii right arrow in the buffer.
There has been vim coneal syntax files for different programming langauges, like

This one is a conceal syntax definition for OCaml.

Installation

Drop the ocaml.vim to ~/.vim/after/syntax (Linux/Mac OS X/BSD) or ~/vimfiles/after/syntax folder (Windows)

Screenshot

screenshot for ocaml.vim

License

Copyright (c) Paul Meng. Distributed under the same terms as Vim itself.
See :help license.
Modified by Anthony Scemama.

添加新评论