Search code examples
windowsvimluavivim-plugin

Unable to load lua dll with gvim 8 (Windows)


This is with reference to the Vim plugin neocomplete which requires Vim to be compiled with lua.

I downloaded the Vim 8.0.0347 official x64 build for windows compiled with lua from here

I downloaded the lua53.dll from here and placed the .dll and .exe and placed it alongside my gvim.exe.

Here is the screenshot for my :version

But :echo has("lua") returns 0

and :lua print("hello") returns

What else do I need?


Solution

  • I was using 32 bit lua.dll for my 64 bit vim. That's plain wrong. Hope this helps somebody.