diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-29 22:50:35 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-29 22:50:35 +0200 |
commit | 9532fe7fbe1b14531931e83bd9f8054efdcf7509 (patch) | |
tree | 08ebc6f99eb5addae13e2ead7be4dda9fd03445b /src/evalfunc.c | |
parent | 10ce39a0d52272a3dfff2feb8c631529f29e6740 (diff) |
patch 7.4.2121v7.4.2121
Problem: No easy way to check if lambda and closure are supported.
Solution: Add the +lambda feature.
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 53783af740..f665842428 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -5205,6 +5205,7 @@ f_has(typval_T *argvars, typval_T *rettv) #ifdef FEAT_KEYMAP "keymap", #endif + "lambda", /* always with FEAT_EVAL, since 7.4.2120 with closure */ #ifdef FEAT_LANGMAP "langmap", #endif |