Ⅰ. 插件描述
DoxyGen Highlighting on top of c/c++/javaⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/doxygen-syntax'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/doxygen-syntax'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/doxygen-syntax'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/DoxyGen-Syntax
Ⅳ. 文档说明
This Script has been moved into Vim7.
:set syntax=cpp.doxygen
Provides DoxyGen Highlighting on top of c/c++/idl/java. DoxyGen is close to JavaDoc that it should be fine for JavaDoc as well. It supports most of the keywords in DoxyGen in one way or another.
There may be some problems where doxygen tags need to be included in exclusion groups of the c/c++/java/idl files.
At the moment, it uses non-conventional colours, which I think is good, as it differentiates it from the source-code. Please let me know if your opinion differs, especially if you have a set of standard defaults that would be appropriate.