Ⅰ. 插件描述
to analyze the source codes more effectively by using GNU cflowⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/cflow-output-colorful'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/cflow-output-colorful'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/cflow-output-colorful'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/cflow-output-colorful
Ⅳ. 文档说明
Regard cflow's output as a new language, thus we could highlight it's output to analyze the source code. so the file name suffix should be ".cflow", just like "cflow -o xxx.cflow"
The snapshot has been in the tarball
SNAPSHOT:
cyan -- functions defined ourself
purple -- variables defined ourself
red -- system functions
black -- system symbols
yellow -- file name
green -- type keywords in C
white -- something else
orange(fg) -- number
orange(bg) -- recursive functions
Enjoy it