.vim/compiler/rubocop.vim

Fri, 10 Nov 2023 01:31:38 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 10 Nov 2023 01:31:38 -0600
changeset 1134
fe6ccd1afb11
parent 660
0c78da269df5
permissions
-rw-r--r--

Version-gate tmux popup (>= 3.2)

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