.vim/compiler/rubocop.vim

Thu, 11 Apr 2024 21:49:00 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 11 Apr 2024 21:49:00 -0500
changeset 1148
bca491e2be91
parent 660
0c78da269df5
permissions
-rw-r--r--

Fix lsp_signature.nvim behavior

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