about summary refs log tree commit diff
path: root/pkgs/applications/editors/neovim
diff options
context:
space:
mode:
authorMatthieu Coudron <mcoudron@hotmail.com>2023-06-11 21:36:38 +0200
committerMatthieu Coudron <teto@users.noreply.github.com>2023-06-12 16:46:52 +0200
commit8255903b7179aba39506026f053190723e95f05e (patch)
treef3d90fd5aeea9d17c1c17253e6eb298d26f0da23 /pkgs/applications/editors/neovim
parente94ae32f3a4441878bfb7c8faf91d0952249d194 (diff)
downloadnixlib-8255903b7179aba39506026f053190723e95f05e.tar
nixlib-8255903b7179aba39506026f053190723e95f05e.tar.gz
nixlib-8255903b7179aba39506026f053190723e95f05e.tar.bz2
nixlib-8255903b7179aba39506026f053190723e95f05e.tar.lz
nixlib-8255903b7179aba39506026f053190723e95f05e.tar.xz
nixlib-8255903b7179aba39506026f053190723e95f05e.tar.zst
nixlib-8255903b7179aba39506026f053190723e95f05e.zip
neovimUtils.buildNeovimPluginFrom2Nix: rename to buildNeovimPlugin
buildNeovimPluginFrom2Nix was cargo-culted from buildVimPluginFrom2Nix
but this doesn't make sense.
From2Nix referred to a way of building plugins that is not used anymore
so buildVimPluginFrom2Nix could be renamed too.
Diffstat (limited to 'pkgs/applications/editors/neovim')
-rw-r--r--pkgs/applications/editors/neovim/utils.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/editors/neovim/utils.nix b/pkgs/applications/editors/neovim/utils.nix
index 5eea1528d659..3911026c7725 100644
--- a/pkgs/applications/editors/neovim/utils.nix
+++ b/pkgs/applications/editors/neovim/utils.nix
@@ -193,14 +193,16 @@ let
     in
         lib.concatStringsSep ";" hostProviderLua;
 
+  buildNeovimPlugin = callPackage ./build-neovim-plugin.nix {
+    inherit (vimUtils) toVimPlugin;
+    inherit lua;
+  };
 in
 {
   inherit makeNeovimConfig;
   inherit generateProviderRc;
   inherit legacyWrapper;
 
-  buildNeovimPluginFrom2Nix = callPackage ./build-neovim-plugin.nix {
-    inherit (vimUtils) toVimPlugin;
-    inherit lua;
-  };
+  inherit buildNeovimPlugin;
+  buildNeovimPluginFrom2Nix = lib.warn "buildNeovimPluginFrom2Nix was renamed to buildNeovimPlugin" buildNeovimPlugin;
 }