daa84 / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
717 stars 56 forks source link

Check neovim version for compatibility #8

Closed msehnout closed 7 years ago

msehnout commented 7 years ago

I wasn't able to start neovim-gtk today, because I was using old version of neovim. It wasn't obvious when debugging this issue, because the error message is rather generic:

thread 'main' panicked at 'Can't start nvim instance: Error { repr: Custom(Custom { kind: Other, error: NeovimError(1, "No such ui option") }) }', /checkout/src/libcore/result.rs:859

What about checking neovim version before starting it? Or at least mention required version in documentation to avoid runtime delay. This issue would also be resolved by packaging e.g. in RPM, but I guess it's too early for that :)