vimPlugins.corePlugins: init (#377743)

This commit is contained in:
Gaétan Lepage
2025-01-29 18:41:51 +01:00
committed by GitHub
2 changed files with 32 additions and 0 deletions
@@ -368,4 +368,5 @@ in
${nvim-with-luasnip}/bin/nvim -i NONE --cmd "lua require'jsregexp'" -e +quitall!
'';
inherit (vimPlugins) corePlugins;
})
@@ -11,6 +11,7 @@
fetchurl,
neovimUtils,
replaceVars,
symlinkJoin,
# Language dependencies
fetchYarnDeps,
mkYarnModules,
@@ -125,6 +126,36 @@ let
luaPackages = neovim-unwrapped.lua.pkgs;
in
{
corePlugins = symlinkJoin {
name = "core-vim-plugins";
paths = with self; [
# plugin managers
lazy-nvim
mini-deps
packer-nvim
vim-plug
# core dependencies
plenary-nvim
# popular plugins
mini-nvim
nvim-cmp
nvim-lspconfig
nvim-treesitter
vim-airline
vim-fugitive
vim-surround
];
meta = {
description = "Collection of popular vim plugins (for internal testing purposes)";
};
};
#######################
# Regular overrides
aerial-nvim = super.aerial-nvim.overrideAttrs {
# optional dependencies
nvimSkipModule = [