helpers/vim-plugin: mkPlugin -> mkVimPlugin

This commit is contained in:
Gaetan Lepage 2024-01-25 14:32:49 +01:00 committed by Gaétan Lepage
parent 8f90372ee5
commit a68ee73947
21 changed files with 21 additions and 21 deletions

View file

@ -6,7 +6,7 @@
with lib;
(
with (import ../helpers.nix {inherit lib;}).vim-plugin;
mkPlugin args {
mkVimPlugin args {
name = "copilot-vim";
description = "copilot.vim";
package = pkgs.vimPlugins.copilot-vim;

View file

@ -14,7 +14,7 @@ in
useDefaultPackage ? true,
...
}:
mkPlugin {inherit lib config pkgs;} {
mkVimPlugin {inherit lib config pkgs;} {
inherit name;
extraPlugins = extraPlugins ++ (lists.optional useDefaultPackage pkgs.vimPlugins.${name});
description = "Enable ${name}";

View file

@ -7,7 +7,7 @@
in
with helpers.vim-plugin;
with lib;
mkPlugin attrs {
mkVimPlugin attrs {
name = "fugitive";
description = "Enable vim-fugitive";
package = pkgs.vimPlugins.vim-fugitive;

View file

@ -5,7 +5,7 @@
} @ args:
with lib;
with (import ../helpers.nix {inherit lib;}).vim-plugin;
mkPlugin args {
mkVimPlugin args {
name = "ledger";
description = "ledger language features";
package = pkgs.vimPlugins.vim-ledger;

View file

@ -6,7 +6,7 @@
} @ args:
with lib;
with (import ../helpers.nix {inherit lib;}).vim-plugin;
mkPlugin args {
mkVimPlugin args {
name = "markdown-preview";
description = "markdown-preview.nvim";
package = pkgs.vimPlugins.markdown-preview-nvim;

View file

@ -7,7 +7,7 @@
in
with helpers.vim-plugin;
with lib;
mkPlugin attrs {
mkVimPlugin attrs {
name = "nix";
description = "Enable nix";
package = pkgs.vimPlugins.vim-nix;

View file

@ -5,7 +5,7 @@
} @ args:
with lib;
with (import ../helpers.nix {inherit lib;}).vim-plugin;
mkPlugin args {
mkVimPlugin args {
name = "tagbar";
package = pkgs.vimPlugins.tagbar;
globalPrefix = "tagbar_";

View file

@ -7,7 +7,7 @@
in
with lib;
with helpers.vim-plugin;
mkPlugin args {
mkVimPlugin args {
name = "vim-slime";
package = pkgs.vimPlugins.vim-slime;
globalPrefix = "slime_";

View file

@ -7,7 +7,7 @@
in
with helpers.vim-plugin;
with lib;
mkPlugin attrs {
mkVimPlugin attrs {
name = "zig";
description = "Enable zig";
package = pkgs.vimPlugins.zig-vim;

View file

@ -5,7 +5,7 @@
} @ args:
with lib;
with (import ../helpers.nix {inherit lib;}).vim-plugin;
mkPlugin args {
mkVimPlugin args {
name = "airline";
description = "vim-airline";
package = pkgs.vimPlugins.vim-airline;

View file

@ -12,7 +12,7 @@ with lib; let
either strInt (attrsOf (either strInt (attrsOf strInt)));
in
with helpers.vim-plugin;
mkPlugin attrs {
mkVimPlugin attrs {
name = "emmet";
description = "Enable emmet";
package = pkgs.vimPlugins.emmet-vim;

View file

@ -7,7 +7,7 @@
in
with helpers.vim-plugin;
with lib;
mkPlugin attrs {
mkVimPlugin attrs {
name = "endwise";
description = "Enable vim-endwise";
package = pkgs.vimPlugins.vim-endwise;

View file

@ -7,7 +7,7 @@
in
with helpers.vim-plugin;
with lib;
mkPlugin attrs {
mkVimPlugin attrs {
name = "goyo";
description = "Enable goyo.vim";
package = pkgs.vimPlugins.goyo-vim;

View file

@ -5,7 +5,7 @@
} @ args:
with lib;
with (import ../helpers.nix {inherit lib;}).vim-plugin;
mkPlugin args {
mkVimPlugin args {
name = "instant";
description = "instant.nvim";
package = pkgs.vimPlugins.instant-nvim;

View file

@ -5,7 +5,7 @@
} @ args:
with lib;
with (import ../helpers.nix {inherit lib;}).vim-plugin;
mkPlugin args {
mkVimPlugin args {
name = "magma-nvim";
description = "magma-nvim";
package = pkgs.vimPlugins.magma-nvim-goose;

View file

@ -7,7 +7,7 @@
in
with lib;
with helpers.vim-plugin;
mkPlugin args {
mkVimPlugin args {
name = "molten";
description = "molten-nvim";
package = pkgs.vimPlugins.molten-nvim;

View file

@ -7,7 +7,7 @@
in
with lib;
with helpers.vim-plugin;
mkPlugin args {
mkVimPlugin args {
name = "startify";
description = "Enable startify";
package = pkgs.vimPlugins.vim-startify;

View file

@ -7,7 +7,7 @@
in
with helpers.vim-plugin;
with lib;
mkPlugin attrs {
mkVimPlugin attrs {
name = "surround";
description = "Enable surround.vim";
package = pkgs.vimPlugins.surround;

View file

@ -5,7 +5,7 @@
} @ args:
with lib;
with (import ../helpers.nix {inherit lib;}).vim-plugin;
mkPlugin args {
mkVimPlugin args {
name = "undotree";
package = pkgs.vimPlugins.undotree;
globalPrefix = "undotree_";