vimPlugins.cmp-tabnine: add nvim-cmp dependency and check

This commit is contained in:
Austin Horstman 2024-10-08 22:45:57 -05:00
parent 2968284179
commit f1fb7420fb
No known key found for this signature in database

View File

@ -412,11 +412,13 @@ in
cmp-tabnine = super.cmp-tabnine.overrideAttrs {
buildInputs = [ tabnine ];
dependencies = with self; [ nvim-cmp ];
postFixup = ''
mkdir -p $target/binaries/${tabnine.version}
ln -s ${tabnine}/bin/ $target/binaries/${tabnine.version}/${tabnine.passthru.platform}
'';
nvimRequireCheck = "cmp_tabnine";
};
cmp-tmux = super.cmp-tmux.overrideAttrs {