Mercurial > vim
view runtime/compiler/rubocop.vim @ 29832:4a549427855d v9.0.0255
patch 9.0.0255: build failure without the eval feature
Commit: https://github.com/vim/vim/commit/0af2ecfe4474be3a83d75b1d636bfdf6b27bbc92
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 24 17:05:56 2022 +0100
patch 9.0.0255: build failure without the eval feature
Problem: Build failure without the eval feature.
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Aug 2022 18:15:02 +0200 |
parents | 0db0640e16e0 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: RuboCop " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2019 Jul 10 if exists("current_compiler") finish endif let current_compiler = "rubocop" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo&vim CompilerSet makeprg=rubocop\ --format\ emacs CompilerSet errorformat=%f:%l:%c:\ %t:\ %m, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save