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
use nvim_oxi as oxi;#[oxi::module]fnfoo() -> oxi::Result<i32>{Ok(42)}
Cargo.toml
[package]
name = "lua_utils"version = "0.1.0"edition = "2021"# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
[dependencies]
nvim-oxi = { version = "0.3", features = ["neovim-nightly"] }
My bad, you're right. That issue is indeed fixed on main but I haven't done a release in a while. I plan to do a minor one this weekend, in the meantime you can use nvim-oxi = { git = "https://github.com/noib3/nvim-oxi", .. } in your Cargo.toml.
lib.rs
Cargo.toml
Rust versions
cargo 1.76.0-nightly (978722961 2023-12-06)
rustc 1.76.0-nightly (1fdfe1234 2023-12-06)
The text was updated successfully, but these errors were encountered: