Ⅰ. 插件描述
GDL/VCG syntax highlighting fileⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/gdl-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/gdl-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/gdl-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/gdl.vim
Ⅳ. 文档说明
gdl.vim is a syntax highlighting package for the graph description language GDL (fka VCG).
Whenever you open a .gdl or .vcg file, the package automatically analyzes the text and marks keywords, attribute specifications, comments, etc. using customizable colors. Whenever you start writing a new GDL document, it automatically analyzes the new text for the proper spelling/syntax, highlighting correct items.
Benefit to you: your GDL file is easier to read and you can understand GDL source code faster.
gdl.vim is intended to go beyond simple syntax and spell-checking. It should also check attribute-value pairs for type correctness. In some cases, it will even check if a specified number is within the valid range.
The package was tested under Vim 5.6/Linux, gVim 6.1/WinNT4.0, gVim 6.2/Win2000, and gVim6.3/Win2000.
For further information, screenshots, etc., visit http://www.aiSee.com/gdledit
Your feedback is appreciated.