tabby: add vim-tabby vimPlugin

This commit is contained in:
Will Owens 2024-02-27 04:52:04 -05:00
parent 52b3f4602c
commit bc8f5cf31a
No known key found for this signature in database
GPG Key ID: A3124B3009B47FCF
3 changed files with 20 additions and 0 deletions

View File

@ -16827,5 +16827,16 @@ final: prev:
meta.homepage = "https://github.com/jhradilek/vim-snippets/";
};
vim-tabby = buildVimPlugin {
pname = "vim-tabby";
version = "2024-02-01";
src = fetchFromGitHub {
owner = "TabbyML";
repo = "vim-tabby";
rev = "0b62bc2ed5c7d930c7435c3504d5c18ea6379b28";
sha256 = "06crxhvwz04s6sfj0q22kkp3g5zvip13088m95qwznw9bv2gpx3s";
};
meta.homepage = "https://github.com/TabbyML/vim-tabby/";
};
}

View File

@ -1671,6 +1671,14 @@
dependencies = with self; [ vim-repeat ];
};
vim-tabby = super.vim-tabby.overrideAttrs {
postPatch = ''
substituteInPlace autoload/tabby/globals.vim --replace-fail \
"let g:tabby_node_binary = get(g:, 'tabby_node_binary', 'node')" \
"let g:tabby_node_binary = get(g:, 'tabby_node_binary', '${nodejs}/bin/node')"
'';
};
vim-textobj-entire = super.vim-textobj-entire.overrideAttrs {
dependencies = with self; [ vim-textobj-user ];
meta.maintainers = with lib.maintainers; [ farlion ];

View File

@ -1399,3 +1399,4 @@ https://github.com/ziglang/zig.vim/,,
https://github.com/mickael-menu/zk-nvim/,HEAD,
https://github.com/troydm/zoomwintab.vim/,,
https://github.com/nanotee/zoxide.vim/,,
https://github.com/TabbyML/vim-tabby/,HEAD,