diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-11-02 15:28:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-11-02 15:28:18 +0100 |
commit | d94464ee294a351ce7b6ba18e8bd3f24f1bef920 (patch) | |
tree | 8c3e98bb5e0f82995a6ee8e7a0729a9ec788265c /runtime/doc/if_lua.txt | |
parent | 8a52ba791893fd55c5bdf98825c5b3e8892eaa62 (diff) |
patch 7.4.907v7.4.907
Problem: Libraries for dynamically loading interfaces can only be defined
at compile time.
Solution: Add options to specify the dll names. (Kazuki Sakamoto,
closes #452)
Diffstat (limited to 'runtime/doc/if_lua.txt')
-rw-r--r-- | runtime/doc/if_lua.txt | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/runtime/doc/if_lua.txt b/runtime/doc/if_lua.txt index 2b322ddbae..e6b8e68046 100644 --- a/runtime/doc/if_lua.txt +++ b/runtime/doc/if_lua.txt @@ -1,4 +1,4 @@ -*if_lua.txt* For Vim version 7.4. Last change: 2013 Sep 04 +*if_lua.txt* For Vim version 7.4. Last change: 2015 Oct 16 VIM REFERENCE MANUAL by Luis Carvalho @@ -14,6 +14,7 @@ The Lua Interface to Vim *lua* *Lua* 6. Buffer userdata |lua-buffer| 7. Window userdata |lua-window| 8. The luaeval function |lua-luaeval| +9. Dynamic loading |lua-dynamic| {Vi does not have any of these commands} @@ -400,4 +401,23 @@ Examples: > ============================================================================== +9. Dynamic loading *lua-dynamic* + +On MS-Windows and Unix the Lua library can be loaded dynamically. The +|:version| output then includes |+lua/dyn|. + +This means that Vim will search for the Lua DLL or shared library file only +when needed. When you don't use the Lua interface you don't need it, thus +you can use Vim without this file. + +On MS-Windows to use the Lua interface the Lua DLL must be in your search path. +In a console window type "path" to see what directories are used. The version +of the DLL must match the Lua version Vim was compiled with. + +On Unix the 'luadll' option can be used to specify the Lua shared library file +instead of DYNAMIC_LUA_DLL file what was specified at compile time. The +version of the shared library must match the Lua version Vim was compiled with. + + +============================================================================== vim:tw=78:ts=8:noet:ft=help:norl: |