vimPlugins.zoxide-vim: init at 2021-12-10

This commit is contained in:
"Brian Leung" 2022-03-08 23:42:23 -08:00 committed by Brian Leung
parent b285038ca4
commit 0ed50dce50
No known key found for this signature in database
GPG key ID: 3ADC75F013D678F9
3 changed files with 23 additions and 0 deletions

View file

@ -12036,4 +12036,16 @@ final: prev:
meta.homepage = "https://github.com/troydm/zoomwintab.vim/"; meta.homepage = "https://github.com/troydm/zoomwintab.vim/";
}; };
zoxide-vim = buildVimPluginFrom2Nix {
pname = "zoxide.vim";
version = "2021-12-10";
src = fetchFromGitHub {
owner = "nanotee";
repo = "zoxide.vim";
rev = "c4e96f34b1b3160d6b6a6519588024412df27cd7";
sha256 = "0zisr1r1z9ys0jkab1lvwy4klwkay07p0095f03r9qydnig8jgsm";
};
meta.homepage = "https://github.com/nanotee/zoxide.vim/";
};
} }

View file

@ -39,6 +39,7 @@
, which , which
, xkb-switch , xkb-switch
, ycmd , ycmd
, zoxide
, nodejs , nodejs
# test dependencies # test dependencies
@ -1076,6 +1077,15 @@ self: super: {
}; };
}); });
zoxide-vim = super.zoxide-vim.overrideAttrs (old: {
buildInputs = [ zoxide ];
postPatch = ''
substituteInPlace autoload/zoxide.vim \
--replace "'zoxide_executable', 'zoxide'" "'zoxide_executable', '${zoxide}/bin/zoxide'"
'';
});
} // ( } // (
let let
nodePackageNames = [ nodePackageNames = [

View file

@ -520,6 +520,7 @@ mzlogin/vim-markdown-toc
mzlogin/vim-smali mzlogin/vim-smali
nacro90/numb.nvim nacro90/numb.nvim
nanotech/jellybeans.vim nanotech/jellybeans.vim
nanotee/zoxide.vim
natebosch/vim-lsc natebosch/vim-lsc
nathanaelkane/vim-indent-guides nathanaelkane/vim-indent-guides
nathangrigg/vim-beancount nathangrigg/vim-beancount