Mercurial > vim
view runtime/compiler/cucumber.vim @ 14002:ade79e3e3b88 v8.1.0019
patch 8.1.0019: error when defining a Lambda with index of a function result
commit https://github.com/vim/vim/commit/b4518563c73460150344a57879bf5b22cb8b1c77
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 22 18:31:35 2018 +0200
patch 8.1.0019: error when defining a Lambda with index of a function result
Problem: Error when defining a Lambda with index of a function result.
Solution: When not evaluating an expression and skipping a function call,
set the return value to VAR_UNKNOWN.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 22 May 2018 18:45:05 +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: