diff options
author | Brian Leung <leungbk@posteo.net> | 2022-03-08 23:44:14 -0800 |
---|---|---|
committer | Brian Leung <leungbk@posteo.net> | 2022-03-10 07:55:15 -0800 |
commit | 3ae12468e74829236f0631167cba7dd2810e282e (patch) | |
tree | 82910416b398b3b7fcbf4f8163826cf53adfdccc /pkgs/applications/editors/vim/plugins/overrides.nix | |
parent | 0ed50dce506bb176043da168fd8483016a97eba5 (diff) | |
download | nixpkgs-3ae12468e74829236f0631167cba7dd2810e282e.tar nixpkgs-3ae12468e74829236f0631167cba7dd2810e282e.tar.gz nixpkgs-3ae12468e74829236f0631167cba7dd2810e282e.tar.bz2 nixpkgs-3ae12468e74829236f0631167cba7dd2810e282e.tar.lz nixpkgs-3ae12468e74829236f0631167cba7dd2810e282e.tar.xz nixpkgs-3ae12468e74829236f0631167cba7dd2810e282e.tar.zst nixpkgs-3ae12468e74829236f0631167cba7dd2810e282e.zip |
vimPlugins.telescope-zoxide: init at 2021-10-21
Diffstat (limited to 'pkgs/applications/editors/vim/plugins/overrides.nix')
-rw-r--r-- | pkgs/applications/editors/vim/plugins/overrides.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index ce1d3453faf..9219e685c33 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -694,6 +694,17 @@ self: super: { dependencies = with self; [ telescope-nvim ]; }); + telescope-zoxide = super.telescope-zoxide.overrideAttrs (old: { + dependencies = with self; [ telescope-nvim ]; + + buildInputs = [ zoxide ]; + + postPatch = '' + substituteInPlace lua/telescope/_extensions/zoxide/config.lua \ + --replace "zoxide query -ls" "${zoxide}/bin/zoxide query -ls" + ''; + }); + tup = let # Based on the comment at the top of https://github.com/gittup/tup/blob/master/contrib/syntax/tup.vim |