Contents

Version lock

In order to use the same configuration on every machine, as a lazy Vim user, I want to keep versions of Vim plugins which I installed before.

Scenario: Install with a lockfile

  • Given a repository "foo" with versions "1.0.0 1.0.1 1.0.2"
  • And a flavorfile with:
    ruby
    flavor '$foo_uri'
  • And a lockfile with:
    $foo_uri (1.0.0)
  • When I run `vim-flavor install`
  • Then it should pass
  • And the lockfile is updated with:
    $foo_uri (1.0.0)
  • And a flavor "$foo_uri" version "1.0.0" is deployed to "$home/.vim"

Source: features/version_lock.feature at commit c0672d99, Vim Flavor (MIT license).