You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, for pulling in turboladen/init.rs (my init.rs, defined using the crates here), I've got this at the top of my init.vim:
lua << RUST
local ffi =require("ffi")
ffi.cdef [[
void init(void);
]]
local project_path ="/Users/steve.loveless/Development/projects/init.rs"
local suffix = ffi.os =="OSX"and".dylib"or".so"
local lib = ffi.load(project_path .. "/target/release/libinit_rs" .. suffix)
lib.init()
RUST
...but this is neither flexible, nor easily-distributed. I share my dotfiles across computers using YADM and would like to commit my changes made to init.rs (or should that project really just be one in ~/.config/nvim/? 🤔) so they can be used on my other environments.
Either make a tool/whatever that makes this easier, or at least document how to use existing tools to automate this.
The text was updated successfully, but these errors were encountered:
Right now, for pulling in turboladen/init.rs (my
init.rs
, defined using the crates here), I've got this at the top of myinit.vim
:...but this is neither flexible, nor easily-distributed. I share my dotfiles across computers using YADM and would like to commit my changes made to
init.rs
(or should that project really just be one in~/.config/nvim/
? 🤔) so they can be used on my other environments.Either make a tool/whatever that makes this easier, or at least document how to use existing tools to automate this.
The text was updated successfully, but these errors were encountered: