fix(tabnine): run :CmpTabnineHub automatically on build (#1788)

This commit is contained in:
André Freitas 2023-10-19 06:54:19 +01:00 committed by GitHub
parent ea3155aef6
commit fad3777296
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,10 +5,12 @@ return {
{ {
"nvim-cmp", "nvim-cmp",
dependencies = { dependencies = {
-- Add TabNine support, make sure you run :CmpTabnineHub after installation.
{ {
"tzachar/cmp-tabnine", "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", dependencies = "hrsh7th/nvim-cmp",
opts = { opts = {
max_lines = 1000, max_lines = 1000,