Sign in
Log inSign up
Mat Jones

3 likes

5.5K reads

2 comments

Vin铆cius Alencar
Vin铆cius Alencar
Dec 24, 2022

Hi! Thank you very much for your post. It really helped me with getting started with Rust + nvim development. I'd like to ask you something. As I'm very beginner with all of this, how would one distribute a plugin written like this? I mean, theres a .so but from my understanding it is OS-dependent, right? Would I need to distribute the cargo project and use a hook to build the project and therefore .so for each install for the plugin? Anyways, I'd just like to read some buzzwords and/or be pointed to a direction. Thanks in advance!

1 reply
Mat Jones
Mat Jones
Author
Jan 3, 2023

The way it's handled in dash.nvim is, I uploaded the binary assets, built for all platforms, to a GitHub Release, then have an installation step as shown here: github.com/mrjones2014/dash.nvim#install

This release process could be automated with GitHub Actions.

The installation step runs a script that installs the correct binary based on the current system architecture.