vimPlugins.cmp-tabnine: init at 2021-09-30

This commit is contained in:
Bernardo Meurer 2021-10-01 11:26:44 -07:00
parent 3a1cbf0df4
commit d9d63e1f16
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246
3 changed files with 22 additions and 0 deletions

View file

@ -663,6 +663,18 @@ final: prev:
meta.homepage = "https://github.com/f3fora/cmp-spell/";
};
cmp-tabnine = buildVimPluginFrom2Nix {
pname = "cmp-tabnine";
version = "2021-09-30";
src = fetchFromGitHub {
owner = "tzachar";
repo = "cmp-tabnine";
rev = "71fd46be319f96dc35ecda2fb2641a643c1ca3ba";
sha256 = "08kqzhzx90r06hjbbr5y79bh4xgg4nj73lsam0wcvq6xyjh7qbnn";
};
meta.homepage = "https://github.com/tzachar/cmp-tabnine/";
};
cmp-treesitter = buildVimPluginFrom2Nix {
pname = "cmp-treesitter";
version = "2021-09-11";

View file

@ -117,6 +117,15 @@ self: super: {
'';
});
cmp-tabnine = super.cmp-tabnine.overrideAttrs (old: {
buildInputs = [ tabnine ];
postFixup = ''
mkdir -p $target/binaries/${tabnine.version}
ln -s ${tabnine}/bin/ $target/binaries/${tabnine.version}/${tabnine.passthru.platform}
'';
});
command-t = super.command-t.overrideAttrs (old: {
buildInputs = [ ruby rake ];
buildPhase = ''

View file

@ -800,6 +800,7 @@ Twinside/vim-hoogle
tyru/caw.vim
tyru/open-browser-github.vim
tyru/open-browser.vim
tzachar/cmp-tabnine@main
tzachar/compe-tabnine@main
uarun/vim-protobuf
udalov/kotlin-vim