view runtime/compiler/cucumber.vim @ 12206:bd8d767fb36f v8.0.0983

patch 8.0.0983: unnecessary check for NULL pointer commit https://github.com/vim/vim/commit/3f9a1ff141412e9e85f7dff47d02946cb9be9228 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 21 22:06:02 2017 +0200 patch 8.0.0983: unnecessary check for NULL pointer Problem: Unnecessary check for NULL pointer. Solution: Remove the NULL check in dialog_changed(), it already happens in dialog_msg(). (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Mon, 21 Aug 2017 22:15:06 +0200
parents 43efa4f5a8ea
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Cucumber
" Maintainer:	Tim Pope <vimNOSPAM@tpope.org>
" Last Change:	2016 Aug 29

if exists("current_compiler")
  finish
endif
let current_compiler = "cucumber"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

let s:cpo_save = &cpo
set cpo-=C

CompilerSet makeprg=cucumber

CompilerSet errorformat=
      \%W%m\ (Cucumber::Undefined),
      \%E%m\ (%\\S%#),
      \%Z%f:%l,
      \%Z%f:%l:%.%#

let &cpo = s:cpo_save
unlet s:cpo_save

" vim:set sw=2 sts=2: