]> granicus.if.org Git - vim/commit
patch 8.2.3300: Lua: can only execute on Vim command at a time v8.2.3300
authorYegappan Lakshmanan <yegappan@yahoo.com>
Fri, 6 Aug 2021 19:34:38 +0000 (21:34 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 6 Aug 2021 19:34:38 +0000 (21:34 +0200)
commit11328bc7df0ecc47f4025a10bb86882a659e9994
treeb079094f517cb0059686d866ee691bc3bfbd4c03
parent5671f3f076573fa9133bc210d6580067698d9a1b
patch 8.2.3300: Lua: can only execute on Vim command at a time

Problem:    Lua: can only execute on Vim command at a time.  Not easy to get
            the Vim version.
Solution:   Make vim.command() accept multiple lines.  Add vim.version().
            (Yegappan Lakshmanan, closes #8716)
runtime/doc/if_lua.txt
src/evalfunc.c
src/if_lua.c
src/proto/evalfunc.pro
src/testdir/test_lua.vim
src/testdir/test_shell.vim
src/version.c