I use both Windows and Fedora Linux, and while the plugin installs without any issues on Fedora, it had to be adapted to work on Windows.
This pull request:
Bumpsmlua to version to 0.9, since version 0.6.2 (which is the one used in Cargo.lock) doesn't compile on Windows
Removes mlua's vendored feature, since it clashes with module (a compile-time error is generated), and without module the code doesn't compile.
Updates lua-json5's code so that it compiles using mlua 0.9 (ToLua has been renamed to IntoLua in newer versions of mlua, so the code had to be fixed)
Adds an install.ps1 script to install the plugin on Windows, and updates the README to reflect this change, which emulates what install.sh does on linux and macos.
I use both Windows and Fedora Linux, and while the plugin installs without any issues on Fedora, it had to be adapted to work on Windows.
This pull request:
mlua
to version to0.9
, since version0.6.2
(which is the one used inCargo.lock
) doesn't compile on Windowsvendored
feature, since it clashes withmodule
(a compile-time error is generated), and withoutmodule
the code doesn't compile.lua-json5
's code so that it compiles usingmlua 0.9
(ToLua
has been renamed toIntoLua
in newer versions ofmlua
, so the code had to be fixed)install.ps1
script to install the plugin on Windows, and updates the README to reflect this change, which emulates whatinstall.sh
does on linux and macos.I'm currently using the forked plugin myself: https://github.com/Crax97/dotfiles/blob/c213d0574775ba361f080adf4afa33177f4261e7/nvim/lua/plugins.lua#L14-L18
And, using my setup, it installed fine both on Fedora 38 and Windows build 22621