Refactor Vim plugins into its own default.nix
This commit is contained in:
parent
c26e63315e
commit
4185013014
|
@ -2,6 +2,8 @@
|
|||
|
||||
let
|
||||
inherit (pkgs) callPackage;
|
||||
|
||||
vimPlugins = callPackage ./vim-plugins { inherit callPackage; };
|
||||
in
|
||||
{
|
||||
build-glove80 = callPackage ./build-glove80.nix { };
|
||||
|
@ -9,16 +11,5 @@ in
|
|||
notes = callPackage ./notes.nix { };
|
||||
notify-battery = callPackage ./notify-battery.nix { };
|
||||
|
||||
vimPlugins = prev.vimPlugins // {
|
||||
conf-vim = callPackage ./vim-plugins/conf-vim.nix { };
|
||||
edit-alternate-vim = callPackage ./vim-plugins/edit-alternate-vim.nix { };
|
||||
nvim-tmux-navigation = callPackage ./vim-plugins/nvim-tmux-navigation.nix { };
|
||||
standard-vim = callPackage ./vim-plugins/standard-vim.nix { };
|
||||
vim-autoread = callPackage ./vim-plugins/vim-autoread.nix { };
|
||||
vim-caser = callPackage ./vim-plugins/vim-caser.nix { };
|
||||
vim-heritage = callPackage ./vim-plugins/vim-heritage.nix { };
|
||||
vim-textobj-indent = callPackage ./vim-plugins/vim-textobj-indent.nix { };
|
||||
vim-textobj-xmlattr = callPackage ./vim-plugins/vim-textobj-xmlattr.nix { };
|
||||
vim-zoom = callPackage ./vim-plugins/vim-zoom.nix { };
|
||||
};
|
||||
vimPlugins = prev.vimPlugins // vimPlugins;
|
||||
}
|
||||
|
|
14
nix/pkgs/vim-plugins/default.nix
Normal file
14
nix/pkgs/vim-plugins/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ callPackage }:
|
||||
|
||||
{
|
||||
conf-vim = callPackage ./conf-vim.nix { };
|
||||
edit-alternate-vim = callPackage ./edit-alternate-vim.nix { };
|
||||
nvim-tmux-navigation = callPackage ./nvim-tmux-navigation.nix { };
|
||||
standard-vim = callPackage ./standard-vim.nix { };
|
||||
vim-autoread = callPackage ./vim-autoread.nix { };
|
||||
vim-caser = callPackage ./vim-caser.nix { };
|
||||
vim-heritage = callPackage ./vim-heritage.nix { };
|
||||
vim-textobj-indent = callPackage ./vim-textobj-indent.nix { };
|
||||
vim-textobj-xmlattr = callPackage ./vim-textobj-xmlattr.nix { };
|
||||
vim-zoom = callPackage ./vim-zoom.nix { };
|
||||
}
|
Loading…
Reference in a new issue