about summary refs log tree commit diff
path: root/pkgs/test/vim
diff options
context:
space:
mode:
authorMatthieu Coudron <mcoudron@hotmail.com>2022-06-25 19:35:48 +0200
committerMatthieu Coudron <teto@users.noreply.github.com>2022-07-10 20:38:09 +0200
commit341b9564bb7d9f69b9e804d956680c8d2ebf61b2 (patch)
tree79cd0734e1d24e35455a0e6f2c2af1e818c1e54b /pkgs/test/vim
parent63230b2fce32dafff08c8f10d88afc385c2f1a11 (diff)
vimUtils: remove vam support
having this many (complex) options not only is hard to maintain but I cant see the benefit of these options now that vim supports packages
Diffstat (limited to 'pkgs/test/vim')
-rw-r--r--pkgs/test/vim/default.nix32
1 files changed, 0 insertions, 32 deletions
diff --git a/pkgs/test/vim/default.nix b/pkgs/test/vim/default.nix
index 73c25ae20cb84..488a2fe99c563 100644
--- a/pkgs/test/vim/default.nix
+++ b/pkgs/test/vim/default.nix
@@ -13,15 +13,6 @@ in
 
   ### vim tests
   ##################
-  vim_with_vim2nix = vim_configurable.customize {
-    name = "vim"; vimrcConfig.vam.pluginDictionaries = [ "vim2nix" ];
-  };
-
-  # test cases:
-  test_vim_with_vim_nix_using_vam = vim_configurable.customize {
-   name = "vim-with-vim-addon-nix-using-vam";
-    vimrcConfig.vam.pluginDictionaries = [{name = "vim-nix"; }];
-  };
 
   test_vim_with_vim_nix_using_plug = vim_configurable.customize {
     name = "vim-with-vim-addon-nix-using-plug";
@@ -32,27 +23,4 @@ in
     name = "vim-with-vim-addon-nix";
     vimrcConfig.packages.myVimPackage.start = with vimPlugins; [ vim-nix ];
   };
-
-  # regression test for https://github.com/NixOS/nixpkgs/issues/53112
-  # The user may have specified their own plugins which may not be formatted
-  # exactly as the generated ones. In particular, they may not have the `pname`
-  # attribute.
-  test_vim_with_custom_plugin = vim_configurable.customize {
-    name = "vim_with_custom_plugin";
-    vimrcConfig.vam.knownPlugins =
-      vimPlugins // ({
-        vim-trailing-whitespace = buildVimPluginFrom2Nix {
-          name = "vim-trailing-whitespace";
-          src = fetchFromGitHub {
-            owner = "bronson";
-            repo = "vim-trailing-whitespace";
-            rev = "4c596548216b7c19971f8fc94e38ef1a2b55fee6";
-            sha256 = "0f1cpnp1nxb4i5hgymjn2yn3k1jwkqmlgw1g02sq270lavp2dzs9";
-          };
-          # make sure string dependencies are handled
-          dependencies = [ "vim-nix" ];
-        };
-      });
-    vimrcConfig.vam.pluginDictionaries = [ { names = [ "vim-trailing-whitespace" ]; } ];
-  };
 })