vfp.vim


Ⅰ. 插件描述

Visual FoxPro 3.0, 5.0, and 6.0 syntax file

Ⅱ. 基本信息

创建日期:  2001-08-21
使用用户:  1
Github星:  1
插件作者:  Edward Franks

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/vfp-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/vfp-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/vfp-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/vfp.vim

Ⅳ. 文档说明

     This file builds on the FoxPro for DOS v2.x syntax file maintained by Powing Tse <powing@mcmug.org> and the Clipper 5.2 & FlagShip syntax file maintained by C R Zamana <zamana@zip.net>.

     This syntax file should work with Visual Foxpro versions 3.0 - 6.0 and OS platforms Windows, Mac, and Unix.  The best fit will be VFP 6 (which is Windows only).  Older versions may have things highlighted that aren't actually available in that version.  For example, GETHOST() is new in VFP 6, but would show up in a VFP 3 program as a reserved word.  Consider this as a future-proofing feature and not a bug.  ;-)

     Because of the messy nature of the Visual FoxPro documentation and the language itself, I've had to combine reserved word lists from several, slightly different, sources.  This means I might have missed a reserved word here or there.  If you find one, please let me know so I can add it to this file.

添加新评论