neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

rubocop.vim (378B)


      1 " Vim compiler file
      2 " Compiler:	RuboCop
      3 " Maintainer:	Doug Kearns <dougkearns@gmail.com>
      4 " Last Change:	2024 Apr 03
      5 
      6 if exists("current_compiler")
      7  finish
      8 endif
      9 let current_compiler = "rubocop"
     10 
     11 let s:cpo_save = &cpo
     12 set cpo&vim
     13 
     14 CompilerSet makeprg=rubocop\ --format\ emacs
     15 CompilerSet errorformat=%f:%l:%c:\ %t:\ %m,
     16 	       \%-G%.%#
     17 
     18 let &cpo = s:cpo_save
     19 unlet s:cpo_save