Gvim/vim LUA support issues under Windows, Neocomplete and other plug-in support

Source: Internet
Author: User
Tags lua

This article is based on the knowledge

https://www.zhihu.com/question/29333426

"What are the LUA support issues for vim under Windows?" "Article summarizes the solution.

A good gvim version of the main problem,

https://tuxproject.de/projects/vim/

Links in the latest vim8.0 should have been supported by +lua/dyn, in fact, as long as the download and find the correct DLL files to the VIM directory can be.

But because the knowledge is not enough, cannot choose the right Lua DLL file. x64 system put the x86 of the file must not be used.

After installing the VIM compilation version according to friend Leohxj.

If you need to put the LUA DLL file in vim, you can enter ":" (that is, the keyboard presses SHIFT +; key) into the command mode, and then enter version to see if the compilation supports LUA (very long, which is supported by +lua/dyn).

Go through ': Lua print (' hello ') ' to see specific versions of LUA, such as the lack of ' lua53.dll ' information.

Then according to the system version, go to http://luabinaries.sourceforge.net/to find the corresponding version (General 5.3.3, December 16 latest).

Click the link to enter HTTPS://SOURCEFORGE.NET/PROJECTS/LUABINARIES/FILES/5.3.3/

Then choose Tools executables (with executable files in it) or the dynamic of Windows Libraries (library).

Tools executables inside can choose 64 bit of Lua-5.3.3_win64_bin.zip ( I use this, directly to the inside of the DLL to take the test) or 32-bit lua-5.3.3_win32_bin.zip.

The dynamic of Windows libraries can be selected for 64-bit lua-5.3.3_win64_dll10_lib.zip or lua-5.3.3_win64_dllw4_lib.zip or 32-bit, and 32-bit links are omitted.

In addition to the following instructions win64_dll10 is VC10 library,win64_dllw4 is mingw gcc 4.3

After downloading the extract, copy the Lua53.dll to the Gvim.exe sibling directory and run Gvim.exe again, viewing ': Echo has ("Lua") ' should return to 1.

Gvim/vim LUA support issues under Windows, Neocomplete and other plug-in support

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.