diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-14 23:23:17 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-14 23:23:17 +0200 |
commit | 0ba042961f929ff43f977c2ebdba9368f42d9c52 (patch) | |
tree | 59220f91eb954e7400bf8846ae8010dd22532029 /src/eval.c | |
parent | 26dcc7e8df8f0f1852752b9107ba4b0408061554 (diff) |
Added Lua interfae. (Luis Carvalho)
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index f3fd5ff01b..e10b453d6e 100644 --- a/src/eval.c +++ b/src/eval.c @@ -5912,7 +5912,7 @@ list_equal(l1, l2, ic) } #if defined(FEAT_RUBY) || defined(FEAT_PYTHON) || defined(FEAT_MZSCHEME) \ - || defined(PROTO) + || defined(FEAT_LUA) || defined(PROTO) /* * Return the dictitem that an entry in a hashtable points to. */ @@ -11912,6 +11912,11 @@ f_has(argvars, rettv) #ifdef FEAT_LOCALMAP "localmap", #endif +#ifdef FEAT_LUA +# ifndef DYNAMIC_LUA + "lua", +# endif +#endif #ifdef FEAT_MENU "menu", #endif @@ -12167,6 +12172,10 @@ f_has(argvars, rettv) else if (STRICMP(name, "iconv") == 0) n = iconv_enabled(FALSE); #endif +#ifdef DYNAMIC_LUA + else if (STRICMP(name, "lua") == 0) + n = lua_enabled(FALSE); +#endif #ifdef DYNAMIC_MZSCHEME else if (STRICMP(name, "mzscheme") == 0) n = mzscheme_enabled(FALSE); |