.vim/compiler/rubocop.vim

Thu, 07 Feb 2019 12:54:10 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 07 Feb 2019 12:54:10 -0600
changeset 728
60df63f03873
parent 660
0c78da269df5
permissions
-rw-r--r--

I don't really use these except for the cd shortcuts

if exists("current_compiler")
  finish
endif
let current_compiler = "rubocop"

if exists(":CompilerSet") != 2
  command -nargs=* CompilerSet setlocal <args>
endif

let s:savecpo = &cpo
set cpo&vim

CompilerSet makeprg=rubocop\ -f\ c\ %
CompilerSet errorformat=%f:%l:%c:\ %t:\ %m,%E%f:%l:\ %m

let &cpo = s:savecpo
unlet s:savecpo

mercurial