Ⅰ. 插件描述
Arc support for vim and syntasticⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'cep21/syntasticarc'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'cep21/syntasticarc'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'cep21/syntasticarc'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/cep21/syntasticarc
Ⅳ. 文档说明
Wrapper to add arc lint support to vim and emacs

Example view

INSTALL
VIM
- add syntasticarc to your path.
Inside vim(or just add to your vimrc)
:set makeprg=syntasticarc :set errorformat=%f:%l:%c:%t:%mInside vim, you can now build and navigate errors
:make """ Runs lint :copen """ Open quickfix window :cf """ Goto first lint error :cn """ Goto next error
EMACS
- add syntasticarc to your emacs path
- Inside emacs. Note, the '-m' produces 'make' compatible output
ESC-x compile
syntasticarc -m - Navigate compile errors with
C-x `
For more help documents, check out the emacs help documents for
compilation
and compilation mode
OPTIONS
You can change the arc path by setting SYNTASTIC_ARC in your env
SYNTASTIC
Can also support syntastic for vim (https://github.com/scrooloose/syntastic).
Just replace syntastic/syntax_checkers/php.vim with the provided one here.