From d7c798cd863611754c5ff1c92fbc0b9c12479a47 Mon Sep 17 00:00:00 2001 From: Michael Ennen Date: Sat, 17 Dec 2016 16:20:47 -0700 Subject: [PATCH] vim-patch:7.4.2121 Problem: No easy way to check if lambda and closure are supported. Solution: Add the +lambda feature. https://github.com/vim/vim/commit/9532fe7fbe1b14531931e83bd9f8054efdcf7509 --- src/nvim/eval.c | 1 + src/nvim/version.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 5ebd86a59d..e84742abcf 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -11653,6 +11653,7 @@ static void f_has(typval_T *argvars, typval_T *rettv, FunPtr fptr) "insert_expand", "jumplist", "keymap", + "lambda", "langmap", "libcall", "linebreak", diff --git a/src/nvim/version.c b/src/nvim/version.c index 854c57aac3..f2a10c1143 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -319,7 +319,7 @@ static int included_patches[] = { 2124, 2123, // 2122 NA - // 2121, + 2121, 2120, 2119, // 2118 NA