vimPlugins.corePlugins: move to dedicated overlay file

+34 -31
+31
pkgs/applications/editors/vim/plugins/corePlugins.nix
··· 1 + { 2 + symlinkJoin, 3 + }: 4 + final: prev: { 5 + 6 + corePlugins = symlinkJoin { 7 + name = "core-vim-plugins"; 8 + paths = with final; [ 9 + # plugin managers 10 + lazy-nvim 11 + mini-deps 12 + packer-nvim 13 + vim-plug 14 + 15 + # core dependencies 16 + plenary-nvim 17 + 18 + # popular plugins 19 + mini-nvim 20 + nvim-cmp 21 + nvim-lspconfig 22 + nvim-treesitter 23 + vim-airline 24 + vim-fugitive 25 + vim-surround 26 + ]; 27 + 28 + meta.description = "Collection of popular vim plugins (for internal testing purposes)"; 29 + }; 30 + 31 + }
+3
pkgs/applications/editors/vim/plugins/default.nix
··· 48 48 inherit (neovimUtils) buildNeovimPlugin; 49 49 }; 50 50 51 + corePlugins = callPackage ./corePlugins.nix { }; 52 + 51 53 # TL;DR 52 54 # * Add your plugin to ./vim-plugin-names 53 55 # * run ./update.py ··· 66 68 (extends luaPackagePlugins) 67 69 (extends nodePackagePlugins) 68 70 (extends nonGeneratedPlugins) 71 + (extends corePlugins) 69 72 (extends overrides) 70 73 (extends aliases) 71 74 lib.makeExtensible
-31
pkgs/applications/editors/vim/plugins/overrides.nix
··· 9 9 fetchurl, 10 10 neovimUtils, 11 11 replaceVars, 12 - symlinkJoin, 13 12 # Language dependencies 14 13 fetchYarnDeps, 15 14 mkYarnModules, ··· 137 136 buildNeoVimPlugin = throw "New plugin definitions should be done outside `overrides.nix`"; 138 137 in 139 138 { 140 - corePlugins = symlinkJoin { 141 - name = "core-vim-plugins"; 142 - paths = with self; [ 143 - # plugin managers 144 - lazy-nvim 145 - mini-deps 146 - packer-nvim 147 - vim-plug 148 - 149 - # core dependencies 150 - plenary-nvim 151 - 152 - # popular plugins 153 - mini-nvim 154 - nvim-cmp 155 - nvim-lspconfig 156 - nvim-treesitter 157 - vim-airline 158 - vim-fugitive 159 - vim-surround 160 - ]; 161 - 162 - meta = { 163 - description = "Collection of popular vim plugins (for internal testing purposes)"; 164 - }; 165 - }; 166 - 167 - ####################### 168 - # Regular overrides 169 - 170 139 advanced-git-search-nvim = super.advanced-git-search-nvim.overrideAttrs { 171 140 checkInputs = with self; [ 172 141 snacks-nvim