Wrapper to add arc lint support to vim and emacs
Example view
-
add syntasticarc to your path.
-
Inside vim(or just add to your vimrc)
:set makeprg=syntasticarc :set errorformat=%f:%l:%c:%t:%m
-
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
-
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
You can change the arc path by setting SYNTASTIC_ARC in your env
Can also support syntastic for vim (https://github.com/scrooloose/syntastic). Just replace syntastic/syntax_checkers/php.vim with the provided one here.