BlockHL


Ⅰ. 插件描述

highlighting different levels of {} in C

Ⅱ. 基本信息

创建日期:  2004-06-30
使用用户:  2
Github星:  1
插件作者:  Charles Campbell

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Blockhl.vim supports block-oriented highlighting of leading white space for C/C++.

For dark backgrounds, as one gets deeper into curly braces, the leading indentation will change to ever lighter colors (up to 7 such levels, then it cycles).

For light backgrounds, increasing curly brace depths will cause ever darker colors to be used (again, 7 levels).

You will need to source the <blockhl.vim> file in if you change colorschemes.

Required: gvim

(alpha/beta version available at http://www.drchip.org/astronaut/vim/index.html#BLOCKHL)

添加新评论