vim-graphical-preview icon indicating copy to clipboard operation
vim-graphical-preview copied to clipboard

Support for OSX and Windows

Open sneilan opened this issue 3 years ago • 4 comments

I've tried

  { 'mattn/libcallex-vim', cmd = 'make -C autoload' },
  { 'bytesnake/vim-graphical-preview', cmd = 'cargo build --release' }

to configure vim-graphical-preview for Lunarvim / neovim packer.

Is this the correct packer config.

Sorry to trouble you. Feel free to ignore this question if this is not worth your time. 🙏

sneilan avatar May 24 '22 06:05 sneilan

Nevermind, this is an irrelevant question because the project is not designed for neovim per https://github.com/bytesnake/vim-graphical-preview/blob/main/ftplugin/graphical-preview.vim

sneilan avatar May 24 '22 06:05 sneilan

And it's not designed to run on mac osx yet. I tried compiling this on osx on my m1 machine and it created a .d file

(base) ➜  vim-graphical-preview git:(main) ✗ find . | grep libvim
./target/release/libvim_math.dylib
./target/release/libvim_math.d
./target/release/deps/libvim_math.dylib

Totally fine. I'll need to contribute to this project if I want this to run on my machine.

sneilan avatar May 24 '22 06:05 sneilan

Hi, valid question! I haven't tested on Windows and Mac but it should theoretically work. It could be that https://github.com/mattn/libcallex-vim makes problems for Mac though. Would be awesome, if you have time to try it out

bytesnake avatar May 24 '22 12:05 bytesnake

neovim should be fully supported

bytesnake avatar May 24 '22 12:05 bytesnake