Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Fixes #579 - Backwards Compatibility for Neovim Versions #583

Merged
merged 8 commits into from
Aug 8, 2017

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Aug 8, 2017

Issue: The tabline feature, to integrate with vim tabs, uses the external_tabline parameter for attaching to UI. If we try and pass that to an earlier version of Neovim, the attach will fail.

Defect: We weren't caring about the version or level of API support for the API instance.

Fix: Query Neovim for the version, and decide what startup options to send it based on the version.

Longer-term, it would be nice to refactor this in a cleaner way, so that there isn't a giant mess of if / switch statements. In addition, there might be other cases we need to handle backwards compatibility, aside from the startupOptions parameter.

Fixes #579 (at least on my Linux machine, running 0.2.0-dev neovim).

@bryphe bryphe mentioned this pull request Aug 8, 2017
@bryphe bryphe merged commit db6786a into master Aug 8, 2017
@bryphe bryphe deleted the extr0py/579/feature-existence branch August 24, 2017 14:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant