Logo: Relish

  1. Sign in

Project: Vim-flavor

Uninstall Vim plugins

  • @typical_usage

In order to automate boring steps,
as a lazy Vim user,
I want to use a declarative way to delete Vim plugins from my configuration.

Background
Given
a repository "foo" with versions "1.0.0 1.0.1 1.0.2"
And
a repository "bar" with versions "2.0.0 2.0.1 2.0.2"
Scenarios
Install after deleting some flavors in flavorfile
Given
a flavorfile with:
flavor '$foo_uri'
flavor '$bar_uri'
And
I run vim-flavor install
And
a flavor "$foo_uri" version "1.0.2" is deployed to "$home/.vim"
When
I edit the flavorfile as:
flavor '$bar_uri'
And
I run vim-flavor install
Then
it should pass
And
a lockfile is created with:
$bar_uri (2.0.2)
And
a flavor "$bar_uri" version "2.0.2" is deployed to "$home/.vim"
But
a flavor "$foo_uri" is not deployed to "$home/.vim"

Last published 6 months ago by kana.