neovim / neovim-ruby

Ruby support for Neovim
MIT License
340 stars 17 forks source link

Dynamic methods #4

Closed alexgenco closed 9 years ago

alexgenco commented 9 years ago

Among many other things, this change allows a client to generate it's interface at runtime from a remote call to vim_get_api_info. This should prevent unexpected changes in function interfaces to break the client, and allows new functions to be picked up without any code changes.

I intended to merge this a long time ago, but never got around to it I guess. Since people might actually be using this now, I'll open this PR to get feedback before merging, since this is very likely to break existing integrations.

jalcine commented 9 years ago

LGTM! Glad that a lot of tests were nixed by this; faster test times === more happy!

alexgenco commented 9 years ago

Welp.