Windows guidance
Hi,
Would be good with some guidance of how to do this in a Windows 10 environment. I tried to compile with both make and cargo / rust from cygwin.
make issue
Unknown platform
cp: cannot stat 'lua/Unknowngenerator.so': No such file or directory
make: *** [makefile:2: build] Error 1
cargo failed in a later state with unresolved symbols refs.
error LNK2019: unresolved external symbol
Hi there, thx for making the issue report, unfortunately, Windows is not supported yet.
+2 whenever that happens then
I've pinned to v0.0.11 to get it to work on windows.
Look forward to supporting Windows in the future, this is a cool plugin.
If you are on Windows, you can follow this PR https://github.com/mistricky/codesnap.nvim/pull/83, that implements support for Windows WSL, but still in WIP
Hahaha, it's a pity that I use gitbash. At present, version v0.0.11 can be used normally.
For those interested in the configuration I've had working on windows via pinning v.0.0.11
return {
"mistricky/codesnap.nvim",
lazy = "true",
build = "make",
cmd = "CodeSnapPreviewOn",
commit = "14327aada69623c1b974ba20a6640856f91a7cb3",
tag = "v0.0.11",
pin = true,
opts = {
mac_windows_bar = true,
watermark = "",
preview_title = "CodeSnap.nvim",
editor_font_family = "Hack nerd Font Mono",
},
config = function(_, opts)
require("codesnap").setup(opts)
end,
}
For those interested in the configuration I've had working on windows via pinning
v.0.0.11
I've since convinced work to get me a Mac so I'm no longer using this configuration, your milage may very.