mistricky / codesnap.nvim

📸 Snapshot plugin with rich features that can make pretty code snapshots for Neovim
MIT License
483 stars 16 forks source link

[Fix] Enable wayland support for arboard #51

Closed mrWinston closed 3 months ago

mrWinston commented 3 months ago

When using this plugin on linux with wayland, copying a snapshot to the clipboard does not seem to work at all. Enabling wayland-data-control for arboard (docs) fixes that issue and makes the clipboard work as expected under wayland.

But, I'm currently unable to validate that this doesn't break compilation or the clipboard functionality on other platforms. The arboard docs doesn't indicate that it should, but I would make sure to test this on a macbook.

mistricky commented 3 months ago

Great job! Have you tested it to work properly on Linux?

mrWinston commented 3 months ago

Yes, i tested this on fedora 39 using Wayland and X11.