Ⅰ. 插件描述
basic vim/bats integrationⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'markcornick/vim-bats'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'markcornick/vim-bats'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'markcornick/vim-bats'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/markcornick/vim-bats
Ⅳ. 文档说明
# Unmaintained
This plugin is no longer maintained. If you'd like to take over
maintenance, please let me know.
vim-bats
This plugin adds:
- A
:Batscommand that runs bats - Syntax highlighting for files with a .bats extension using the ftdetect
plugin from bats.vim - A
batscompiler errorformat, which can parse output frombats --tapto
display line numbers and errors in a quickfix window
Installation
With pathogen.vim just do:
cd ~/.vim/bundle
git clone https://github.com/markcornick/vim-bats.git
If you prefer to use something besides pathogen, go ahead.
Credits
Syntax highlighting by Ross Timson <mailto:ross@rosstimson.com>.
Compiler error format by Justin Campbell @justincampbell. The rest
written by Mark Cornick <mailto:mark@markcornick.com> and these contributors:
- Jonathan Sokolowski (@jsok)
Licensed under the MIT license.
This project is intended to be a safe, welcoming space for collaboration, and
contributors are expected to adhere to the [Contributor
Covenant](http://contributor-covenant.org) code of conduct.