Merge pull request #163534 from leungbk/zoxide

This commit is contained in:
Sandro 2022-03-11 16:34:25 +01:00 committed by GitHub
commit d45b423d13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 435 additions and 388 deletions

File diff suppressed because it is too large Load diff

View file

@ -39,6 +39,7 @@
, which
, xkb-switch
, ycmd
, zoxide
, nodejs
# test dependencies
@ -693,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
@ -1076,6 +1088,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
nodePackageNames = [

View file

@ -347,6 +347,7 @@ justincampbell/vim-eighties
justinj/vim-pico8-syntax
justinmk/vim-dirvish
justinmk/vim-sneak
jvgrootveld/telescope-zoxide
jvirtanen/vim-hcl
jvoorhis/coq.vim
KabbAmine/vCoolor.vim
@ -520,6 +521,7 @@ mzlogin/vim-markdown-toc
mzlogin/vim-smali
nacro90/numb.nvim
nanotech/jellybeans.vim
nanotee/zoxide.vim
natebosch/vim-lsc
nathanaelkane/vim-indent-guides
nathangrigg/vim-beancount