Unverified Commit 762a3988 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

vimPlugins.corePlugins: init (#377743)

parents 2f5582c5 80a2be42
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -368,4 +368,5 @@ in
    ${nvim-with-luasnip}/bin/nvim -i NONE --cmd "lua require'jsregexp'" -e +quitall!
  '';

  inherit (vimPlugins) corePlugins;
})
+31 −0
Original line number Diff line number Diff line
@@ -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 = [