noib3 / nvim-oxi

:link: Rust bindings to all things Neovim
https://crates.io/crates/nvim-oxi
MIT License
902 stars 45 forks source link

"Validation complete used without nargs" error on stable #154

Open melMass opened 7 months ago

melMass commented 7 months ago

Hi,

I can provide more info/context soon but I just wanted to log it already in case anyone has a clue. I have a toy project to test out nvim-oxi and the current version compiles fine for either nightly or stable.

I'm now adding a custom command:

let opts = CreateCommandOpts::builder()
        .bang(true)
        .desc("play audio using echo.nvim")
        .nargs(CommandNArgs::ZeroOrOne)
        .build();

And since then the stable build errors out with the title of this issue, nightly still works fine: