Arch, Neovim nightly and jsregexp compilation #1384
Replies: 2 comments
-
Hi :) Mhmm, maybe neovim finds some other, older And, the current version of jsregexp additionally creates a Does |
Beta Was this translation helpful? Give feedback.
-
I fixed this by doing the following.
With all that, and it took quite a while to figure out (mostly the new makefile, building the jsregexp is not trivial!!) I had the correct behaviour inside neovim where the require("jsregexp") would return the expected table and no error! All I know is, the process of getting Luasnip to work with jsregexp was a long one! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
make INCLUDE_DIR=-I/usr/include/lua51 LDLIBS=
This built me a jsregexp.so which I assume, is Lua51 compatible. I copy this to the ~/.config/nvim/lua directory so it can be found, and then I fire up Neovim, and issue the command to print(require("jsregexp")) but it still emits the error about undefined symbol: lua_newuserdatauv
I am this kind of stumped as to why the jsregexp module is not being picked up as correct for the LuaSnip? What else do I need to look for here?
Beta Was this translation helpful? Give feedback.
All reactions