aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/viml/executor/vim.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-03-04 21:55:28 +0300
committerZyX <kp-pav@yandex.ru>2017-03-27 00:11:24 +0300
commite7bbd8256b8c701205389be431bbafd8743c72a9 (patch)
tree9fc9a9754da4d856b94f8388ff700a01711dfe68 /src/nvim/viml/executor/vim.lua
parentf9a31e98505c0f5e83dd3ba957fbd0f4b150d30c (diff)
downloadrneovim-e7bbd8256b8c701205389be431bbafd8743c72a9.tar.gz
rneovim-e7bbd8256b8c701205389be431bbafd8743c72a9.tar.bz2
rneovim-e7bbd8256b8c701205389be431bbafd8743c72a9.zip
eval: Add luaeval function
No tests yet, no documentation update, no :lua* stuff, no vim module. converter.c should also work with typval_T, not Object. Known problem: luaeval("1", {}) results in PANIC: unprotected error in call to Lua API (attempt to index a nil value) Ref #3823
Diffstat (limited to 'src/nvim/viml/executor/vim.lua')
-rw-r--r--src/nvim/viml/executor/vim.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/viml/executor/vim.lua b/src/nvim/viml/executor/vim.lua
new file mode 100644
index 0000000000..8d1c5bdf4f
--- /dev/null
+++ b/src/nvim/viml/executor/vim.lua
@@ -0,0 +1,2 @@
+-- TODO(ZyX-I): Create compatibility layer.
+return {}