fix(tabnine): run :CmpTabnineHub automatically on build

This commit is contained in:
Andre Freitas 2023-10-18 12:57:55 +01:00
parent ae77bfda89
commit 3bc25022bc

View file

@ -5,10 +5,12 @@ return {
{
"nvim-cmp",
dependencies = {
-- Add TabNine support, make sure you run :CmpTabnineHub after installation.
{
"tzachar/cmp-tabnine",
build = Util.is_win() and "pwsh -noni .\\install.ps1" or "./install.sh",
build = {
Util.is_win() and "pwsh -noni .\\install.ps1" or "./install.sh",
":CmpTabnineHub",
},
dependencies = "hrsh7th/nvim-cmp",
opts = {
max_lines = 1000,