Ⅰ. 插件描述
Syntax coloring for FitNesse Wiki PagesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/fitnesse-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/fitnesse-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/fitnesse-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/fitnesse.vim
Ⅳ. 文档说明
fitnesse.vim is a syntax file (and eventually some filetype specific functions)
for editing FitNesse tests using Vim. It was created to make it easier to work
with FitNesse files. It works great in conjunction with "It's All Text" a
plugin for FireFox (found at https://addons.mozilla.org/en-US/firefox/addon/4125).
FitNesse is a collaborative testing tool that uses Wiki markup to create test
scripts as web pages. See http://fitnesse.org for more information.
Syntax coloring supports:
* Numerous keywords in Slim and FitNesse are supported:
scenario, script, Query:, start, check, reject, show, Comment, comment,
!see, !include, !See, null, !define, !include
Simple collapsible sections (with folding enabled) ! !, !> *!
* Table cell delimiter "|"
* Cell contents
* Incomplete cell is error
* !style_(class)
* Strings in Quotes
* Scenario variables @parametername
* Symbols $symbolname
* Simple WikiWord support