syntasticarc


Ⅰ. 插件描述

Arc support for vim and syntastic

Ⅱ. 基本信息

创建日期:  2011-12-14
使用用户:  1
Github星:  4
插件作者:  Jack Lindamood

Ⅲ. 安装方法

使用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

syntasticarc animated demo

Example view

syntasticarc example view

INSTALL

VIM

  1. add syntasticarc to your path.
  2. Inside vim(or just add to your vimrc)

         :set makeprg=syntasticarc
         :set errorformat=%f:%l:%c:%t:%m
    
  3. Inside 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

  1. add syntasticarc to your emacs path
  2. Inside emacs. Note, the '-m' produces 'make' compatible output

    ESC-x compile
    syntasticarc -m

  3. 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.

添加新评论