Unverified Commit 55b79280 authored by Austin Horstman's avatar Austin Horstman Committed by GitHub
Browse files

vimPlugins: warn on aliases/deprecations, move to deprecated.json, remove old...

vimPlugins: warn on aliases/deprecations, move to deprecated.json, remove old deprecations (#486970)
parents 36156682 ddaf531d
Loading
Loading
Loading
Loading
+12 −119
Original line number Diff line number Diff line
@@ -29,7 +29,10 @@ let
    ) aliases;

  deprecations = lib.mapAttrs (
    old: info: throw "${old} was renamed to ${info.new} on ${info.date}. Please update to ${info.new}."
    old: info:
    lib.warnOnInstantiate "'vimPlugins.${old}' was renamed to 'vimPlugins.${info.new}' on ${info.date}. Please update to 'vimPlugins.${info.new}'." (
      builtins.getAttr info.new prev
    )
  ) (lib.importJSON ./deprecated.json);

in
@@ -37,141 +40,31 @@ mapAliases (
  with prev;
  {
    # keep-sorted start case=no
    "sourcemap.vim" = sourcemap-vim;
    airline = vim-airline;
    alternative = a-vim; # backwards compat, added 2014-10-21
    bats = bats-vim;
    blueballs-neovim = throw "`blueballs-neovim` has been removed"; # added 2025-06-17
    BufOnly = BufOnly-vim;
    calendar = calendar-vim;
    caw = caw-vim;
    chad = chadtree;
    coc-rls = throw "coc-rls has been removed, as rls has been archived since 2022. You should use coc-rust-analyzer instead, as rust-analyzer is maintained."; # added 2025-10-01
    coc-sumneko-lua = throw "coc-sumneko-lua was removed, as it is unmaintained and broken. You should switch to lua_ls"; # added 2026-02-04
    coc-sumneko-lua = throw "'vimPlugins.coc-sumneko-lua' was removed, as it is unmaintained and broken. You should switch to lua_ls"; # added 2026-02-04
    coc-vetur = throw "coc-vetur was removed, as vetur is unmaintained by Vue. You should switch to Volar, which supports Vue 3"; # added 2025-10-01
    coffee-script = vim-coffee-script;
    coffeeScript = vim-coffee-script; # backwards compat, added 2014-10-18
    colors-solarized = vim-colors-solarized;
    colorsamplerpack = Colour-Sampler-Pack;
    Colour_Sampler_Pack = Colour-Sampler-Pack;
    command_T = command-t; # backwards compat, added 2014-10-18
    commentary = vim-commentary;
    committia = committia-vim;
    completion-treesitter = throw "completion-treesitter has been archived since 2024-01"; # Added 2025-12-18
    concealedyank = concealedyank-vim;
    context-filetype = context_filetype-vim;
    Cosco = cosco-vim;
    CSApprox = csapprox;
    css_color_5056 = vim-css-color;
    csv = csv-vim;
    ctrlp = ctrlp-vim;
    cute-python = vim-cute-python;
    denite = denite-nvim;
    easy-align = vim-easy-align;
    easygit = vim-easygit;
    easymotion = vim-easymotion;
    echodoc = echodoc-vim;
    eighties = vim-eighties;
    ethersync = lib.warnOnInstantiate "'ethersync' has been renamed to 'teamtype'" teamtype; # Added 2025-10-31
    extradite = vim-extradite;
    feline-nvim = throw "feline.nvim has been removed: upstream deleted repository. Consider using lualine"; # Added 2025-02-09
    floating-nvim = throw "floating.nvim has been removed: abandoned by upstream. Use popup-nvim or nui-nvim"; # Added 2024-11-26
    fruzzy = throw "vimPlugins.fruzzy did not update since 2019-10-28 and uses EOL version of Nim"; # Added 2025-11-12
    fugitive = vim-fugitive;
    fzfWrapper = fzf-wrapper;
    ghc-mod-vim = ghcmod-vim;
    ghcmod = ghcmod-vim;
    Gist = vim-gist;
    gitgutter = vim-gitgutter;
    gleam-vim = throw "gleam.vim has been removed: its code was merged into vim."; # Added 2025-06-10
    goyo = goyo-vim;
    gundo = gundo-vim;
    Gundo = gundo-vim; # backwards compat, added 2015-10-03
    haskellconceal = vim-haskellconceal;
    haskellConceal = vim-haskellconceal; # backwards compat, added 2014-10-18
    haskellConcealPlus = vim-haskellConcealPlus;
    hier = vim-hier;
    hlint-refactor = hlint-refactor-vim;
    Hoogle = vim-hoogle;
    hoogle = vim-hoogle;
    indent-blankline-nvim-lua = indent-blankline-nvim; # backwards compat, added 2021-07-05
    ipython = vim-ipython;
    latex-live-preview = vim-latex-live-preview;
    maktaba = vim-maktaba;
    minsnip-nvim = throw "the upstream repository got deleted"; # added 2025-08-30
    multiple-cursors = vim-multiple-cursors;
    necoGhc = neco-ghc; # backwards compat, added 2014-10-18
    neocomplete = neocomplete-vim;
    neoinclude = neoinclude-vim;
    neomru = neomru-vim;
    neosnippet = neosnippet-vim;
    neuron-nvim = throw "neuron.nvim has been removed: archived repository 2023-02-19"; # Added 2025-09-10
    nvim-gps = throw "nvim-gps has been archived since 2022. Use nvim-navic instead."; # Added 2025-12-18
    nvim-ts-rainbow = throw "nvim-ts-rainbow has been deprecated: Use rainbow-delimiters-nvim"; # Added 2023-11-30
    nvim-ts-rainbow2 = throw "nvim-ts-rainbow2 has been deprecated: Use rainbow-delimiters-nvim"; # Added 2023-11-30
    open-browser = open-browser-vim;
    pathogen = vim-pathogen;
    peskcolor-vim = throw "peskcolor-vim has been removed: abandoned by upstream"; # Added 2024-08-23
    playground = throw "playground has been archived"; # Added 2025-12-18
    polyglot = vim-polyglot;
    prettyprint = vim-prettyprint;
    pure-lua = lib.warnOnInstantiate "Please replace 'pure-lua' with 'moonlight-nvim' as this name was an error" moonlight-nvim; # Added 2025-11-17
    quickrun = vim-quickrun;
    rainbow_parentheses = rainbow_parentheses-vim;
    repeat = vim-repeat;
    rhubarb = vim-rhubarb;
    riv = riv-vim;
    rust-tools-nvim = lib.warnOnInstantiate "rust-tools-nvim is abandoned by upstream; you should use rustaceanvim" rust-tools-nvim;
    sensible = vim-sensible;
    signature = vim-signature;
    sleuth = vim-sleuth;
    snipmate = vim-snipmate;
    Solarized = vim-colors-solarized;
    solarized = vim-colors-solarized;
    solidity = vim-solidity;
    sourcemap = sourcemap-vim;
    Spacegray-vim = throw "Spacegray-vim has been removed: abandoned by upstream"; # Added 2025-03-24
    pure-lua = lib.warnOnInstantiate "Please replace 'vimPlugins.pure-lua' with 'vimPlugins.moonlight-nvim' as this name was an error" moonlight-nvim; # Added 2025-11-17
    rust-tools-nvim = lib.warnOnInstantiate "'vimPlugins.rust-tools-nvim' is abandoned by upstream; you should use 'vimPlugins.rustaceanvim'" rust-tools-nvim;
    Spacegray-vim = throw "'vimPlugins.Spacegray-vim' has been removed: abandoned by upstream"; # Added 2025-03-24
    SpaceVim = throw "this distribution didn't work properly in vimPlugins, please use top-level 'spacevim' instead"; # added 2024-11-27
    spacevim = throw "this distribution was unmaintained for the last 6 years, please use top-level 'spacevim'"; # added 2024-11-27
    sparkup = throw "the upstream repository got deleted"; # added 2025-08-06
    ssr = ssr-nvim; # Added 2025-08-31
    stylish-haskell = vim-stylish-haskell;
    stylishHaskell = vim-stylish-haskell; # backwards compat, added 2014-10-18
    suda-vim = vim-suda; # backwards compat, added 2024-05-16
    Supertab = supertab;
    surround = vim-surround;
    Syntastic = syntastic;
    syntax-tree-surfer = throw "syntax-tree-surfer has been archived"; # Added 2025-12-18
    SyntaxRange = vim-SyntaxRange;
    table-mode = vim-table-mode;
    tabpagebuffer = tabpagebuffer-vim;
    tabpagecd = vim-tabpagecd;
    Tabular = tabular;
    Tagbar = tagbar;
    taglist = taglist-vim;
    The_NERD_Commenter = nerdcommenter;
    The_NERD_tree = nerdtree;
    thumbnail = thumbnail-vim;
    tlib = tlib_vim;
    tmux-navigator = vim-tmux-navigator;
    tmuxNavigator = vim-tmux-navigator; # backwards compat, added 2014-10-18
    todo-nvim = throw "todo-nvim has been removed: abandoned by upstream"; # Added 2023-08-23
    tslime = tslime-vim;
    UltiSnips = ultisnips;
    unite = unite-vim;
    vim-addon-vim2nix = vim2nix;
    vim-sourcetrail = throw "vim-sourcetrail has been removed: abandoned by upstream"; # Added 2022-08-14
    vimproc = vimproc-vim;
    vimshell = vimshell-vim;
    vinegar = vim-vinegar;
    vscode-diff-nvim = codediff-nvim; # Added 2026-01-12
    watchdogs = vim-watchdogs;
    WebAPI = webapi-vim;
    wombat256 = wombat256-vim; # backwards compat, added 2015-7-8
    xterm-color-table = xterm-color-table-vim;
    Yankring = YankRing-vim;
    yankring = YankRing-vim;
    zeavim = zeavim-vim;
    sparkup = throw "'vimPlugins.sparkup' was removed: the upstream repository got deleted"; # added 2025-08-06
    syntax-tree-surfer = throw "'vimPlugins.syntax-tree-surfer' has been archived"; # Added 2025-12-18
    todo-nvim = throw "'vimPlugins.todo-nvim' has been removed: abandoned by upstream"; # Added 2023-08-23
    vim-sourcetrail = throw "'vimPlugins.vim-sourcetrail' has been removed: abandoned by upstream"; # Added 2022-08-14
    # keep-sorted end
  }
  // deprecations
+428 −52
Original line number Diff line number Diff line
{
    "TrueZen-nvim": {
        "date": "2022-07-27",
        "new": "true-zen-nvim"
    },
    "codeium-nvim": {
        "date": "2025-04-09",
        "new": "windsurf-nvim"
@@ -11,6 +7,34 @@
        "date": "2025-04-09",
        "new": "windsurf-vim"
    },
    "coffee-script": {
        "date": "2026-02-04",
        "new": "vim-coffee-script"
    },
    "coffeeScript": {
        "date": "2026-02-04",
        "new": "vim-coffee-script"
    },
    "colors-solarized": {
        "date": "2026-02-04",
        "new": "vim-colors-solarized"
    },
    "colorsamplerpack": {
        "date": "2026-02-04",
        "new": "Colour-Sampler-Pack"
    },
    "command_T": {
        "date": "2026-02-04",
        "new": "command-t"
    },
    "commentary": {
        "date": "2026-02-04",
        "new": "vim-commentary"
    },
    "committia": {
        "date": "2026-02-04",
        "new": "committia-vim"
    },
    "compe-conjure": {
        "date": "2024-11-19",
        "new": "cmp-conjure"
@@ -23,104 +47,456 @@
        "date": "2024-11-19",
        "new": "cmp-tabnine"
    },
    "compe-tmux": {
        "date": "2021-12-07",
        "new": "cmp-tmux"
    },
    "compe-zsh": {
        "date": "2024-11-19",
        "new": "cmp-zsh"
    },
    "concealedyank": {
        "date": "2026-02-04",
        "new": "concealedyank-vim"
    },
    "context-filetype": {
        "date": "2026-02-04",
        "new": "context_filetype-vim"
    },
    "css_color_5056": {
        "date": "2026-02-04",
        "new": "vim-css-color"
    },
    "csv": {
        "date": "2026-02-04",
        "new": "csv-vim"
    },
    "ctrlp": {
        "date": "2026-02-04",
        "new": "ctrlp-vim"
    },
    "cute-python": {
        "date": "2026-02-04",
        "new": "vim-cute-python"
    },
    "denite": {
        "date": "2026-02-04",
        "new": "denite-nvim"
    },
    "easy-align": {
        "date": "2026-02-04",
        "new": "vim-easy-align"
    },
    "easygit": {
        "date": "2026-02-04",
        "new": "vim-easygit"
    },
    "easymotion": {
        "date": "2026-02-04",
        "new": "vim-easymotion"
    },
    "echodoc": {
        "date": "2026-02-04",
        "new": "echodoc-vim"
    },
    "eighties": {
        "date": "2026-02-04",
        "new": "vim-eighties"
    },
    "ethersync": {
        "date": "2025-10-31",
        "new": "teamtype"
    },
    "extradite": {
        "date": "2026-02-04",
        "new": "vim-extradite"
    },
    "fern-vim": {
        "date": "2024-05-12",
        "new": "vim-fern"
    },
    "fugitive": {
        "date": "2026-02-04",
        "new": "vim-fugitive"
    },
    "fzfWrapper": {
        "date": "2026-02-04",
        "new": "fzf-wrapper"
    },
    "ghc-mod-vim": {
        "date": "2026-02-04",
        "new": "ghcmod-vim"
    },
    "ghcmod": {
        "date": "2026-02-04",
        "new": "ghcmod-vim"
    },
    "gina-vim": {
        "date": "2024-05-12",
        "new": "vim-gina"
    },
    "gist-vim": {
        "date": "2020-03-27",
        "new": "vim-gist"
    "gitgutter": {
        "date": "2026-02-04",
        "new": "vim-gitgutter"
    },
    "goyo": {
        "date": "2026-02-04",
        "new": "goyo-vim"
    },
    "lspsaga-nvim-original": {
        "date": "2023-08-08",
        "new": "lspsaga-nvim"
    "gundo": {
        "date": "2026-02-04",
        "new": "gundo-vim"
    },
    "haskellConceal": {
        "date": "2026-02-04",
        "new": "vim-haskellconceal"
    },
    "haskellConcealPlus": {
        "date": "2026-02-04",
        "new": "vim-haskellConcealPlus"
    },
    "haskellconceal": {
        "date": "2026-02-04",
        "new": "vim-haskellconceal"
    },
    "hier": {
        "date": "2026-02-04",
        "new": "vim-hier"
    },
    "hlint-refactor": {
        "date": "2026-02-04",
        "new": "hlint-refactor-vim"
    },
    "hoogle": {
        "date": "2026-02-04",
        "new": "vim-hoogle"
    },
    "indent-blankline-nvim-lua": {
        "date": "2026-02-04",
        "new": "indent-blankline-nvim"
    },
    "ipython": {
        "date": "2026-02-04",
        "new": "vim-ipython"
    },
    "latex-live-preview": {
        "date": "2026-02-04",
        "new": "vim-latex-live-preview"
    },
    "lua-async-await": {
        "date": "2025-01-09",
        "new": "lua-async"
    },
    "lua-dev-nvim": {
        "date": "2022-10-14",
        "new": "neodev-nvim"
    },
    "magma-nvim-goose": {
        "date": "2024-10-28",
        "new": "magma-nvim"
    },
    "nvchad-extensions": {
        "date": "2023-08-19",
        "new": "nvchad-ui"
    },
    "nvim-base16": {
        "date": "2024-02-15",
        "new": "base16-nvim"
    },
    "nvim-bufferline-lua": {
        "date": "2021-08-22",
        "new": "bufferline-nvim"
    },
    "nvim-compe": {
        "date": "2024-11-19",
        "new": "nvim-cmp"
    },
    "nvim-lsp": {
        "date": "2020-08-31",
        "new": "nvim-lspconfig"
    },
    "nvim-toggleterm-lua": {
        "date": "2021-08-22",
        "new": "toggleterm-nvim"
    },
    "orgmode-nvim": {
        "date": "2021-11-28",
        "new": "orgmode"
    },
    "render-markdown": {
        "date": "2024-09-16",
        "new": "render-markdown-nvim"
    },
    "sql-nvim": {
        "date": "2021-09-03",
        "new": "sqlite-lua"
    "repeat": {
        "date": "2026-02-04",
        "new": "vim-repeat"
    },
    "rhubarb": {
        "date": "2026-02-04",
        "new": "vim-rhubarb"
    },
    "riv": {
        "date": "2026-02-04",
        "new": "riv-vim"
    },
    "sensible": {
        "date": "2026-02-04",
        "new": "vim-sensible"
    },
    "signature": {
        "date": "2026-02-04",
        "new": "vim-signature"
    },
    "sleuth": {
        "date": "2026-02-04",
        "new": "vim-sleuth"
    },
    "snipmate": {
        "date": "2026-02-04",
        "new": "vim-snipmate"
    },
    "solarized": {
        "date": "2026-02-04",
        "new": "vim-colors-solarized"
    },
    "solidity": {
        "date": "2026-02-04",
        "new": "vim-solidity"
    },
    "sourcemap": {
        "date": "2026-02-04",
        "new": "sourcemap-vim"
    },
    "sourcemap.vim": {
        "date": "2026-02-04",
        "new": "sourcemap-vim"
    },
    "ssr": {
        "date": "2026-02-04",
        "new": "ssr-nvim"
    },
    "stylish-haskell": {
        "date": "2026-02-04",
        "new": "vim-stylish-haskell"
    },
    "stylishHaskell": {
        "date": "2026-02-04",
        "new": "vim-stylish-haskell"
    },
    "suda-vim": {
        "date": "2024-05-12",
        "new": "vim-suda"
    },
    "surround": {
        "date": "2026-02-04",
        "new": "vim-surround"
    },
    "table-mode": {
        "date": "2026-02-04",
        "new": "vim-table-mode"
    },
    "tabpagebuffer": {
        "date": "2026-02-04",
        "new": "tabpagebuffer-vim"
    },
    "tabpagecd": {
        "date": "2026-02-04",
        "new": "vim-tabpagecd"
    },
    "taglist": {
        "date": "2026-02-04",
        "new": "taglist-vim"
    },
    "taskwarrior": {
        "date": "2024-08-13",
        "new": "taskwarrior3 or taskwarrior2"
        "new": "taskwarrior2"
    },
    "thumbnail": {
        "date": "2026-02-04",
        "new": "thumbnail-vim"
    },
    "tlib": {
        "date": "2026-02-04",
        "new": "tlib_vim"
    },
    "tmux-navigator": {
        "date": "2026-02-04",
        "new": "vim-tmux-navigator"
    },
    "tmuxNavigator": {
        "date": "2026-02-04",
        "new": "vim-tmux-navigator"
    },
    "tslime": {
        "date": "2026-02-04",
        "new": "tslime-vim"
    },
    "unite": {
        "date": "2026-02-04",
        "new": "unite-vim"
    },
    "vim-addon-vim2nix": {
        "date": "2026-02-04",
        "new": "vim2nix"
    },
    "vim-fsharp": {
        "date": "2024-03-16",
        "new": "zarchive-vim-fsharp"
    },
    "vim-jade": {
        "date": "2020-03-27",
        "new": "vim-pug"
    },
    "vscode-diff-nvim": {
        "date": "2026-01-10",
        "new": "codediff-nvim"
    },
    "vundle": {
        "date": "2020-03-27",
        "new": "Vundle-vim"
    "BufOnly": {
        "date": "2026-02-04",
        "new": "BufOnly-vim"
    },
    "CSApprox": {
        "date": "2026-02-04",
        "new": "csapprox"
    },
    "Colour_Sampler_Pack": {
        "date": "2026-02-04",
        "new": "Colour-Sampler-Pack"
    },
    "Cosco": {
        "date": "2026-02-04",
        "new": "cosco-vim"
    },
    "Gist": {
        "date": "2026-02-04",
        "new": "vim-gist"
    },
    "Gundo": {
        "date": "2026-02-04",
        "new": "gundo-vim"
    },
    "Hoogle": {
        "date": "2026-02-04",
        "new": "vim-hoogle"
    },
    "Solarized": {
        "date": "2026-02-04",
        "new": "vim-colors-solarized"
    },
    "Supertab": {
        "date": "2026-02-04",
        "new": "supertab"
    },
    "Syntastic": {
        "date": "2026-02-04",
        "new": "syntastic"
    },
    "SyntaxRange": {
        "date": "2026-02-04",
        "new": "vim-SyntaxRange"
    },
    "Tabular": {
        "date": "2026-02-04",
        "new": "tabular"
    },
    "Tagbar": {
        "date": "2026-02-04",
        "new": "tagbar"
    },
    "The_NERD_Commenter": {
        "date": "2026-02-04",
        "new": "nerdcommenter"
    },
    "The_NERD_tree": {
        "date": "2026-02-04",
        "new": "nerdtree"
    },
    "UltiSnips": {
        "date": "2026-02-04",
        "new": "ultisnips"
    },
    "WebAPI": {
        "date": "2026-02-04",
        "new": "webapi-vim"
    },
    "Yankring": {
        "date": "2026-02-04",
        "new": "YankRing-vim"
    },
    "airline": {
        "date": "2026-02-04",
        "new": "vim-airline"
    },
    "alternative": {
        "date": "2026-02-04",
        "new": "a-vim"
    },
    "bats": {
        "date": "2026-02-04",
        "new": "bats-vim"
    },
    "calendar": {
        "date": "2026-02-04",
        "new": "calendar-vim"
    },
    "caw": {
        "date": "2026-02-04",
        "new": "caw-vim"
    },
    "chad": {
        "date": "2026-02-04",
        "new": "chadtree"
    },
    "maktaba": {
        "date": "2026-02-04",
        "new": "vim-maktaba"
    },
    "multiple-cursors": {
        "date": "2026-02-04",
        "new": "vim-multiple-cursors"
    },
    "necoGhc": {
        "date": "2026-02-04",
        "new": "neco-ghc"
    },
    "neocomplete": {
        "date": "2026-02-04",
        "new": "neocomplete-vim"
    },
    "neoinclude": {
        "date": "2026-02-04",
        "new": "neoinclude-vim"
    },
    "neomru": {
        "date": "2026-02-04",
        "new": "neomru-vim"
    },
    "neosnippet": {
        "date": "2026-02-04",
        "new": "neosnippet-vim"
    },
    "open-browser": {
        "date": "2026-02-04",
        "new": "open-browser-vim"
    },
    "pathogen": {
        "date": "2026-02-04",
        "new": "vim-pathogen"
    },
    "polyglot": {
        "date": "2026-02-04",
        "new": "vim-polyglot"
    },
    "prettyprint": {
        "date": "2026-02-04",
        "new": "vim-prettyprint"
    },
    "quickrun": {
        "date": "2026-02-04",
        "new": "vim-quickrun"
    },
    "rainbow_parentheses": {
        "date": "2026-02-04",
        "new": "rainbow_parentheses-vim"
    },
    "vimproc": {
        "date": "2026-02-04",
        "new": "vimproc-vim"
    },
    "vimshell": {
        "date": "2026-02-04",
        "new": "vimshell-vim"
    },
    "vinegar": {
        "date": "2026-02-04",
        "new": "vim-vinegar"
    },
    "watchdogs": {
        "date": "2026-02-04",
        "new": "vim-watchdogs"
    },
    "wombat256": {
        "date": "2026-02-04",
        "new": "wombat256-vim"
    },
    "xterm-color-table": {
        "date": "2026-02-04",
        "new": "xterm-color-table-vim"
    },
    "yankring": {
        "date": "2026-02-04",
        "new": "YankRing-vim"
    },
    "youcompleteme": {
        "date": "2020-03-27",
        "new": "YouCompleteMe"
    "zeavim": {
        "date": "2026-02-04",
        "new": "zeavim-vim"
    }
}