Cygwin under Vim installation neocomplete appear if_lua not enabled error

Source: Internet
Author: User
Tags lua

For VIM configuration Neocomplete automatic completion plug-in, the installation is complete after the "Neocomplete does not the work thisversion of Vim. It requires vim 7.3.885 or above and "If_lua" enabled vim." Error message, the Neocomplete plugin cannot be started.

From the error message, the If_lua module is not enabled. The version number that can be output by using the Vim--version command is 7.4, which satisfies the version requirement. Neocomplete official said Cygwin If_lua module automatically open, should be no problem. The strange thing is that on another machine the same installation neocomplete the plug-in can be used normally, and a different one will not work.

Careful analysis of the error message requires that the version requirements and If_lua be enabled. There is no doubt that the version number is satisfied and the problem is If_lua enabled. Using Vim--version | grep Lua, you can see the results. This proves that the LUA module has been compiled into vim, so the possibility is that the dynamic link library form is used when compiling, but there is no dynamic link library for LUA in the system.

Install the LUA interpreter using the Cygwin installation again. Start vim again and find the problem solved.

Cygwin under Vim installation neocomplete appear if_lua not enabled error

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.