.vim/compiler/rubocop.vim

Thu, 12 Apr 2018 12:33:50 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 12 Apr 2018 12:33:50 -0400
changeset 707
f6bf6ea52ac6
parent 660
0c78da269df5
permissions
-rw-r--r--

ignore-old-breakpoints proved annoying

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