Currently, there is no difference between the 7.x-1.x and 8.x-1.x branches of this project. The 8.x-1.x branch was created so that drush @none dl vimrc would work: see #2735463: Update installation instructions.

One option is to use the 7.x-1.x branch for Drupal 7 and the 8.x-1.x branch for Drupal 8. I do not like this option, since many of us want to work with some D7 sites and some D8 sites, and (so far) we do not install vim plugins on a site-local basis.

Another option is to use the 8.x-1.x branch for Vim 8. I think this makes more sense. There are several changes for Vim 8 that affect this project:

  • By default, .module and several other extensions are detected as PHP files (assuming they start with <?php)
  • There is a new system for managing packages, similar to the pathogen plugin.
  • Vim has a new system for asynchronous processes.

This might be a good time to revisit the recommended installation for this project. The last time we discussed this was #1145580: Add installer?, and the consensus then was that we should use a drush command to install the project. Here are a few things to keep in mind as we revisit this question:

  • Most of the functionality is vim-based (plugin, syntax, etc.).
  • There are also two drush commands: a wrapper for ctags and one to install Pathogen and other recommended plugins; this one may be obsolete when using Vim 8.
  • We might even install with composer global install, but that does not seem like a good fit.

Comments

benjifisher created an issue.

benjifisher’s picture

We also have the option of starting branches 7.x-2.x and 8.x-2.x. We might use these branches for Vim 8 and the existing branches for Vim 7.