Ⅰ. 插件描述
Creating tags for INFORMIX 4GL/4Js programs under UNIX environmentⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/fgl-c'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/fgl-c'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/fgl-c'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/fgl.c
Ⅳ. 文档说明
The zip file contains three files - fgl.c, parsers.h, and source.mak.
When 'fgl.c' file in fgl.zip is compiled with exuberant ctags source files, which you can download, ctags(executable) will generate tags for functions, cursor ids, prepared statements id, and global/module level variables. I compiled exuberant ctags source in AIX and Linux without any problem. Only trouble I faced was that source codes in ctags-5.4 tar file had DOS line breaks and had to translate them to UNIX line breaks using dos2unix utility.
If you use taglist.vim, add the following lines in taglist.vim script.
Scroll down the script to a section where tag types are defined for different languages:
- " fgl language
let s:tlist_def_fgl_settings = 'fgl;f:function;c:cursor;s:prepared;v:variable'
- -