Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions pkgs/misc/vim-plugins/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@ let
(removeRecurseForDerivations
(checkInPkgs n alias)))
aliases;
in

mapAliases {
deprecations = lib.mapAttrs (old: info:
throw "${old} was renamed to ${info.new} on ${info.date}. Please update to ${info.new}."
) (builtins.fromJSON (builtins.readFile ./deprecated.json));

in
mapAliases ({
airline = vim-airline;
alternative = a-vim; # backwards compat, added 2014-10-21
bats = bats-vim;
Expand Down Expand Up @@ -67,7 +71,7 @@ mapAliases {
ghc-mod-vim = ghcmod-vim;
ghcmod = ghcmod-vim;
goyo = goyo-vim;
Gist = gist-vim;
Gist = vim-gist;
gitgutter = vim-gitgutter;
gundo = gundo-vim;
Gundo = gundo-vim; # backwards compat, added 2015-10-03
Expand Down Expand Up @@ -133,7 +137,6 @@ mapAliases {
wombat256 = wombat256-vim; # backwards compat, added 2015-7-8
yankring = YankRing-vim;
Yankring = YankRing-vim;
YouCompleteMe = youcompleteme;
xterm-color-table = xterm-color-table-vim;
zeavim = zeavim-vim;
}
} // deprecations)
1 change: 0 additions & 1 deletion pkgs/misc/vim-plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ let

# TL;DR
# * Add your plugin to ./vim-plugin-names
# * sort -udf ./vim-plugin-names > sorted && mv sorted vim-plugin-names
# * run ./update.py
#
# If additional modifications to the build process are required,
Expand Down
18 changes: 18 additions & 0 deletions pkgs/misc/vim-plugins/deprecated.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"gist-vim": {
"date": "2020-03-27",
"new": "vim-gist"
},
"vim-jade": {
"date": "2020-03-27",
"new": "vim-pug"
},
"vundle": {
"date": "2020-03-27",
"new": "Vundle.vim"
},
"youcompleteme": {
"date": "2020-03-27",
"new": "YouCompleteMe"
}
}
Loading