summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2020-04-07 16:14:44 +0200
committerMatthieu Coudron <mattator@gmail.com>2020-04-13 15:04:03 +0200
commitad06ae4195dbc680c5a30f11df90cf212e7f864f (patch)
treecdbdd1aafbe0671e3067991147cd194fe7ec7bd7 /pkgs/misc
parent3b9ea3750aa3581647b9c917bb8ef879495e2226 (diff)
downloadnixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.tar
nixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.tar.gz
nixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.tar.bz2
nixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.tar.lz
nixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.tar.xz
nixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.tar.zst
nixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.zip
vimPlugins.vim-dasht: init at 2019-09-29
Use with `:Dasht`.
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/vim-plugins/generated.nix11
-rw-r--r--pkgs/misc/vim-plugins/overrides.nix8
-rw-r--r--pkgs/misc/vim-plugins/vim-plugin-names1
3 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/misc/vim-plugins/generated.nix b/pkgs/misc/vim-plugins/generated.nix
index 0b9815b4e94..f506efda449 100644
--- a/pkgs/misc/vim-plugins/generated.nix
+++ b/pkgs/misc/vim-plugins/generated.nix
@@ -3807,6 +3807,17 @@ let
     };
   };
 
+  vim-dasht = buildVimPluginFrom2Nix {
+    pname = "vim-dasht";
+    version = "2019-09-29";
+    src = fetchFromGitHub {
+      owner = "sunaku";
+      repo = "vim-dasht";
+      rev = "9c7484eaea26b8dd1edd8af21a38cee6c4ef4f49";
+      sha256 = "1rjckipy7b4ygwvc1hbc24da1x3pwklbkfljrz16znlcm2y5q72k";
+    };
+  };
+
   vim-devicons = buildVimPluginFrom2Nix {
     pname = "vim-devicons";
     version = "2020-04-11";
diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix
index 4ae1fd80bb3..7333b61deae 100644
--- a/pkgs/misc/vim-plugins/overrides.nix
+++ b/pkgs/misc/vim-plugins/overrides.nix
@@ -11,6 +11,7 @@
 , Cocoa, CoreFoundation, CoreServices
 , buildVimPluginFrom2Nix
 , nodePackages
+, dasht
 
 # coc-go dependency
 , go
@@ -517,6 +518,13 @@ self: super: {
     dependencies = with super; [ vim-maktaba ];
   });
 
+  vim-dasht = super.vim-dasht.overrideAttrs(old: {
+    preFixup = ''
+      substituteInPlace $out/share/vim-plugins/vim-dasht/autoload/dasht.vim \
+        --replace "['dasht']" "['${dasht}/bin/dasht']"
+    '';
+  });
+
   vim-easytags = super.vim-easytags.overrideAttrs(old: {
     dependencies = with super; [ vim-misc ];
     patches = [
diff --git a/pkgs/misc/vim-plugins/vim-plugin-names b/pkgs/misc/vim-plugins/vim-plugin-names
index 8c7c17239b6..9a854d58b08 100644
--- a/pkgs/misc/vim-plugins/vim-plugin-names
+++ b/pkgs/misc/vim-plugins/vim-plugin-names
@@ -443,6 +443,7 @@ solarnz/arcanist.vim
 sonph/onehalf
 stefandtw/quickfix-reflector.vim
 stephpy/vim-yaml
+sunaku/vim-dasht
 svermeulen/vim-subversive
 t9md/vim-choosewin
 t9md/vim-smalls