Ⅰ. 插件描述
Git mirror of abudden's taghighlight plugin for vim.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'magic-dot-files/taghighlight-or-are-not'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'magic-dot-files/taghighlight-or-are-not'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'magic-dot-files/taghighlight-or-are-not'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/magic-dot-files/taghighlight
Ⅳ. 文档说明
# TagHighlight
TagHighlight is a plugin that highlights names of classes, variables, types etc in source code in Vim. This makes it quicker and easier to spot errors in your code. By using exuberant ctags and parsing the output, the typedefs, #defines, enumerated names etc are all clearly highlighted in different colours. As standard, it supports the following languages (but it's very easy to add more):
- C/C++ (most of the testing has been with these)
- C#
- Java
- Javascript
- Matlab (functions only; may require custom ctags version)
- Perl
- PHP
- Python
- Ruby
- Scala
- Fortran
- Go (if your version of ctags supports it)
- VHDL (if your version of ctags supports it)
Adding more languages is extremely simple.
To show the benefit of this plugin, there are some screenshots and a more detailed description at the following website:
http://www.cgtk.co.uk/taghighlight
Installation instructions are available here:
http://www.cgtk.co.uk/taghighlight/install
The source is managed in Mercurial and is available on bitbucket.
Detailed documentation can be found in doc/TagHighlight.txt.