Skip to content
This repository was archived by the owner on Sep 21, 2019. It is now read-only.

Conversation

@ches
Copy link
Contributor

@ches ches commented Jan 13, 2017

Closes #369, refs #368 (1b32e85)

Yeah, I could have left only the vim.command version of the code here and had compatibility with old and new, but there are other uses of Vim 7.4+ Python API in our code and this change does not attempt to fix all of them now. This just avoids a particularly poor failure mode during Vim startup.

I think we ought to officially make versions this old unsupported: detect the version and gracefully reject loading the plugin, informing the user. Serious day-to-day work on Scala projects where you'd want IDE features suggests a workstation-class environment IMO, so ensime-vim ought to be free to make assumptions accordingly. ensime-emacs is rather stringent about its requirements. Ubuntu 12.04 (as in #369) goes end-of-life in about 3 months, so it's barely server-class anymore. A possible policy could be to support the last two Vim minor versions (i.e. 8.0 and 7.4). We can discuss this more on a new issue.

Closes #369, refs #368 (1b32e85)

There are other uses of Vim 7.4+ Python API in our code, this does not
attempt to fix all of them. This just avoids a particularly bad failure
mode during Vim startup.
@ktonga
Copy link
Contributor

ktonga commented Feb 3, 2017

Hey @ches why isn't this PR merged yet? Shall we close it in favor of discarding <7.4 support?

@ches
Copy link
Contributor Author

ches commented Feb 3, 2017

Sorry, I must have missed the approval, I've been preoccupied in the past few weeks.

I'd say let's take this since it does solve a lousy failure mode right now, and #371 remains to track imposing the version restriction.

@ches ches merged commit 9c2f932 into ensime:master Feb 3, 2017
@ches ches deleted the fix-369 branch February 3, 2017 14:34
@jvican
Copy link
Contributor

jvican commented Feb 3, 2017

👍

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.

Error when adding ensime-vim to vim73 on ubuntu lts 12.04

3 participants